diff options
Diffstat (limited to 'hicn-light/src/CMakeLists.txt')
-rw-r--r-- | hicn-light/src/CMakeLists.txt | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/hicn-light/src/CMakeLists.txt b/hicn-light/src/CMakeLists.txt index 68ef851f1..c7a4b5efd 100644 --- a/hicn-light/src/CMakeLists.txt +++ b/hicn-light/src/CMakeLists.txt @@ -36,18 +36,14 @@ list(INSERT HICN_LIGHT_INCLUDE_DIRS 0 ${CMAKE_CURRENT_SOURCE_DIR}/.. ) -if (INSTALL_HEADER) - set(TO_INSTALL_HEADERS ${HEADER_FILES}) -endif() - build_library(${LIBHICN_LIGHT} STATIC SOURCES ${SOURCE_FILES} - INSTALL_HEADERS ${TO_INSTALL_HEADERS} + INSTALL_HEADERS ${TO_INSTALL_HEADER_FILES} LINK_LIBRARIES ${LIBRARIES} DEPENDS ${DEPENDENCIES} COMPONENT ${LIBHICN_LIGHT} INCLUDE_DIRS ${HICN_LIGHT_INCLUDE_DIRS} - INSTALL_ROOT_DIR hicn/hicn-light + INSTALL_ROOT_DIR hicn/light DEFINITIONS ${COMPILER_DEFINITIONS} ) |