summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorLuca Muscariello <muscariello@ieee.org>2019-12-11 09:41:02 +0000
committerGerrit Code Review <gerrit@fd.io>2019-12-11 09:41:02 +0000
commit745726e5c84c2c70e67d2372c965034aa63791ba (patch)
treeef46bbe1dbe3669c122d841f07b6fcd1c858cc45 /apps
parent2f8f60f943b71e1caab14856c6a03c81e5ba6c9c (diff)
parent3f21100e1d2ec47b64670a8b08d0c9d067bf9ef3 (diff)
Merge "[HICN-430] Rework on CMake"
Diffstat (limited to 'apps')
-rw-r--r--apps/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/CMakeLists.txt b/apps/CMakeLists.txt
index c74be92ba..1778ba557 100644
--- a/apps/CMakeLists.txt
+++ b/apps/CMakeLists.txt
@@ -25,11 +25,12 @@ set(CMAKE_MODULE_PATH
include(BuildMacros)
include(WindowsMacros)
+set(HICN_APPS hicn-apps CACHE INTERNAL "" FORCE)
+
if(CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR)
find_package(Libtransport REQUIRED)
find_package(Threads REQUIRED)
include_directories(${LIBTRANSPORT_INCLUDE_DIRS})
- set(HICN_APPS hicn-apps)
else()
if (${CMAKE_SYSTEM_NAME} STREQUAL "Android")
find_package(OpenSSL REQUIRED)
@@ -38,6 +39,7 @@ else()
else ()
set(LIBTRANSPORT_LIBRARIES ${LIBTRANSPORT_SHARED})
endif ()
+
list(APPEND DEPENDENCIES
${LIBTRANSPORT_LIBRARIES}
)