aboutsummaryrefslogtreecommitdiffstats
path: root/ctrl/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'ctrl/CMakeLists.txt')
-rw-r--r--ctrl/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/ctrl/CMakeLists.txt b/ctrl/CMakeLists.txt
index cdce8bbdb..50357651f 100644
--- a/ctrl/CMakeLists.txt
+++ b/ctrl/CMakeLists.txt
@@ -16,4 +16,7 @@ cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
project(ctrl)
add_subdirectory(libhicnctrl)
-add_subdirectory(facemgr)
+
+if (NOT (BUILD_HICNPLUGIN AND "${CMAKE_SYSTEM_NAME}" STREQUAL "Linux"))
+ add_subdirectory(facemgr)
+endif () \ No newline at end of file