aboutsummaryrefslogtreecommitdiffstats
path: root/ctrl/facemgr
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 /ctrl/facemgr
parent2f8f60f943b71e1caab14856c6a03c81e5ba6c9c (diff)
parent3f21100e1d2ec47b64670a8b08d0c9d067bf9ef3 (diff)
Merge "[HICN-430] Rework on CMake"
Diffstat (limited to 'ctrl/facemgr')
-rw-r--r--ctrl/facemgr/CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/ctrl/facemgr/CMakeLists.txt b/ctrl/facemgr/CMakeLists.txt
index 63a5f3c84..db40eade3 100644
--- a/ctrl/facemgr/CMakeLists.txt
+++ b/ctrl/facemgr/CMakeLists.txt
@@ -62,11 +62,12 @@ set(CMAKE_INSTALL_RPATH_USE_LINK_PATH ON)
find_package_wrapper(Config REQUIRED)
find_package_wrapper(LibEvent REQUIRED)
+set(FACEMGR facemgr CACHE INTERNAL "" FORCE)
+set(LIBFACEMGR facemgr CACHE INTERNAL "" FORCE)
+
if(CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR)
find_package_wrapper(Libhicn REQUIRED)
find_package_wrapper(Libhicnctrl REQUIRED)
- set(FACEMGR facemgr)
- set(LIBFACEMGR facemgr)
else()
if (${CMAKE_SYSTEM_NAME} STREQUAL "Android")
set(HICN_LIBRARIES ${LIBHICN_STATIC} log)