when cmake is told SERVER_ONLY, still build server-side plugins

This commit is contained in:
Seth Alves 2016-07-20 11:34:44 -07:00
parent c36d0d91ad
commit 5485b3ee13

View file

@ -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)