diff options
author | Luca Muscariello <lumuscar+fdio@cisco.com> | 2019-01-22 17:50:52 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2019-01-22 17:50:52 +0000 |
commit | bed18df840364847e378d1ce2dea2fbace029720 (patch) | |
tree | d0cd5b86ba9c159f9e8a32331a82e121bafdb4c5 /libtransport/src | |
parent | 471bcdc47dce89394a724e96f7c4bd6f242b6a31 (diff) | |
parent | 211b6a8bc6d959a874a43f28d4cda43eae48200d (diff) |
Merge "[HICN-3] First version of packaging system based on cmake."
Diffstat (limited to 'libtransport/src')
-rwxr-xr-x | libtransport/src/hicn/transport/CMakeLists.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libtransport/src/hicn/transport/CMakeLists.txt b/libtransport/src/hicn/transport/CMakeLists.txt index f3c1cd2dc..fd5721273 100755 --- a/libtransport/src/hicn/transport/CMakeLists.txt +++ b/libtransport/src/hicn/transport/CMakeLists.txt @@ -14,7 +14,11 @@ cmake_minimum_required(VERSION 3.5 FATAL_ERROR) configure_file("config.h.in" "config.h" @ONLY) -install(FILES ${CMAKE_CURRENT_BINARY_DIR}/config.h DESTINATION include/hicn/transport COMPONENT libtransport-dev) +install( + FILES ${CMAKE_CURRENT_BINARY_DIR}/config.h + DESTINATION include/hicn/transport + COMPONENT lib${LIBTRANSPORT} +) add_subdirectory(core) add_subdirectory(errors) @@ -42,7 +46,7 @@ build_library(${LIBTRANSPORT} INSTALL_HEADERS ${HEADER_FILES} LINK_LIBRARIES ${LIBRARIES} DEPENDS ${DEPENDENCIES} - COMPONENT libtransport + COMPONENT lib${LIBTRANSPORT} INCLUDE_DIRS ${LIBTRANSPORT_INCLUDE_DIRS} INSTALL_ROOT_DIR hicn/transport DEFINITIONS ${COMPILER_DEFINITIONS} |