summaryrefslogtreecommitdiffstats
path: root/src/cmake/library.cmake
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-09-07 12:39:02 +0200
committerDamjan Marion <dmarion@me.com>2018-09-07 19:37:44 +0000
commit833de8cab672c806176d580a1ebc001f394b2eaf (patch)
tree6253c4198e789144ae36230f72c9455dc374fd16 /src/cmake/library.cmake
parent0745036cb9ead1a3aaf9686c8c8046cb7285ea52 (diff)
cmake: set packaging component for different files
Change-Id: I033a1f5cdb24f77462cb5ec90a62226d93f52925 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/cmake/library.cmake')
-rw-r--r--src/cmake/library.cmake6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/cmake/library.cmake b/src/cmake/library.cmake
index cff5e3e3f2f..04165ffb1e4 100644
--- a/src/cmake/library.cmake
+++ b/src/cmake/library.cmake
@@ -76,6 +76,10 @@ endmacro()
function (add_vpp_headers path)
foreach(file ${ARGN})
get_filename_component(dir ${file} DIRECTORY)
- install(FILES ${file} DESTINATION include/${path}/${dir})
+ install(
+ FILES ${file}
+ DESTINATION include/${path}/${dir}
+ COMPONENT vpp-dev
+ )
endforeach()
endfunction()