summaryrefslogtreecommitdiffstats
path: root/lib/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CMakeLists.txt')
-rw-r--r--lib/CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index 4df09c0dd..3cc40bb7f 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -26,10 +26,10 @@ if (NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "Release")
endif()
-if(CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR)
- set(LIBHICN hicn)
- set(LIBHICN_STATIC ${LIBHICN}.static)
-endif()
+set(LIBHICN hicn CACHE INTERNAL "" FORCE)
+set(LIBHICN_SHARED ${LIBHICN}.shared CACHE INTERNAL "" FORCE)
+set(LIBHICN_STATIC ${LIBHICN}.static CACHE INTERNAL "" FORCE)
+set(HICN_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/includes CACHE INTERNAL "" FORCE)
include (Packaging)