diff options
author | Mauro Sardara <msardara+fdio@cisco.com> | 2017-04-29 21:14:25 +0200 |
---|---|---|
committer | Mauro Sardara <msardara+fdio@cisco.com> | 2017-04-29 22:11:51 +0200 |
commit | 844daaec88924ba1f374c7bd8fd69692904012ed (patch) | |
tree | 0d8bca1560ee58cc227e9386758f23def4147bd6 /icnet | |
parent | 307d69f67c01dbf05b1da447589645713d6ca27b (diff) |
Adding dev and doc package support.
Change-Id: I89b4aa6598d88226a1eafd6b7240a30be3d795c3
Signed-off-by: Mauro Sardara <msardara+fdio@cisco.com>
Diffstat (limited to 'icnet')
-rw-r--r-- | icnet/CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/icnet/CMakeLists.txt b/icnet/CMakeLists.txt index 81252a5c..fae22d61 100644 --- a/icnet/CMakeLists.txt +++ b/icnet/CMakeLists.txt @@ -69,9 +69,9 @@ set(libicnet_libraries icnet.shared) foreach(lib ${libicnet_libraries}) - install(TARGETS ${lib} LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/lib ARCHIVE DESTINATION ${CMAKE_INSTALL_PREFIX}/lib) + install(TARGETS ${lib} COMPONENT library LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/lib ARCHIVE DESTINATION ${CMAKE_INSTALL_PREFIX}/lib) endforeach() -install(FILES ${HEADER_FILES} DESTINATION ${CMAKE_INSTALL_PREFIX}/include/icnet) -install(FILES ${ICNET_HEADER_FILES} DESTINATION ${CMAKE_INSTALL_PREFIX}/include/icnet) -install(FILES ${ICNET_CONFIG} DESTINATION ${CMAKE_INSTALL_PREFIX}/etc/) +install(FILES ${HEADER_FILES} DESTINATION ${CMAKE_INSTALL_PREFIX}/include/icnet COMPONENT headers) +install(FILES ${ICNET_HEADER_FILES} DESTINATION ${CMAKE_INSTALL_PREFIX}/include/icnet COMPONENT headers) +install(FILES ${ICNET_CONFIG} DESTINATION ${CMAKE_INSTALL_PREFIX}/etc/ COMPONENT library) |