From 5485b3ee13244ef4b8973b33e55ef79a42a3c678 Mon Sep 17 00:00:00 2001 From: Seth Alves Date: Wed, 20 Jul 2016 11:34:44 -0700 Subject: [PATCH] when cmake is told SERVER_ONLY, still build server-side plugins --- cmake/macros/SetupHifiClientServerPlugin.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmake/macros/SetupHifiClientServerPlugin.cmake b/cmake/macros/SetupHifiClientServerPlugin.cmake index 74ceaeb0ab..0ce7796756 100644 --- a/cmake/macros/SetupHifiClientServerPlugin.cmake +++ b/cmake/macros/SetupHifiClientServerPlugin.cmake @@ -8,7 +8,9 @@ macro(SETUP_HIFI_CLIENT_SERVER_PLUGIN) set(${TARGET_NAME}_SHARED 1) setup_hifi_library(${ARGV}) - add_dependencies(interface ${TARGET_NAME}) + if (NOT DEFINED SERVER_ONLY) + add_dependencies(interface ${TARGET_NAME}) + endif() set_target_properties(${TARGET_NAME} PROPERTIES FOLDER "Plugins") if (APPLE)