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

This commit is contained in:
Seth Alves 2016-07-20 11:29:57 -07:00
parent 406b08ffa1
commit c36d0d91ad

View file

@ -12,18 +12,27 @@ list(REMOVE_ITEM PLUGIN_SUBDIRS "CMakeFiles")
# client-side plugins
if (NOT SERVER_ONLY)
set(DIR "oculus") add_subdirectory(${DIR})
set(DIR "hifiSdl2") add_subdirectory(${DIR})
set(DIR "openvr") add_subdirectory(${DIR})
set(DIR "oculusLegacy") add_subdirectory(${DIR})
set(DIR "hifiSixense") add_subdirectory(${DIR})
set(DIR "hifiSpacemouse") add_subdirectory(${DIR})
set(DIR "hifiNeuron") add_subdirectory(${DIR})
set(DIR "oculus")
add_subdirectory(${DIR})
set(DIR "hifiSdl2")
add_subdirectory(${DIR})
set(DIR "openvr")
add_subdirectory(${DIR})
set(DIR "oculusLegacy")
add_subdirectory(${DIR})
set(DIR "hifiSixense")
add_subdirectory(${DIR})
set(DIR "hifiSpacemouse")
add_subdirectory(${DIR})
set(DIR "hifiNeuron")
add_subdirectory(${DIR})
endif()
# server-side plugins
set(DIR "pcmCodec") add_subdirectory(${DIR})
set(DIR "hifiCodec") add_subdirectory(${DIR})
set(DIR "pcmCodec")
add_subdirectory(${DIR})
set(DIR "hifiCodec")
add_subdirectory(${DIR})
# foreach(DIR ${PLUGIN_SUBDIRS})