From 3e4a4119dceeafaa3ecd618202fa8a9f91462278 Mon Sep 17 00:00:00 2001 From: Dale Glass Date: Mon, 4 Dec 2023 15:38:04 -0800 Subject: [PATCH] Disable Neuron by default --- CMakeLists.txt | 1 + plugins/CMakeLists.txt | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 33e30fa6e4..bbd118496b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -483,6 +483,7 @@ if (BUILD_CLIENT) endif() option(USE_SIXENSE "Build Interface with sixense library/plugin" OFF) + option(USE_NEURON "Build Interface with Neuron library/plugin" OFF) endif() if (BUILD_CLIENT OR BUILD_SERVER) diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt index 6f2bd56212..a0539d2a04 100644 --- a/plugins/CMakeLists.txt +++ b/plugins/CMakeLists.txt @@ -31,8 +31,12 @@ if (NOT SERVER_ONLY AND NOT ANDROID) set(DIR "hifiSpacemouse") add_subdirectory(${DIR}) - set(DIR "hifiNeuron") - add_subdirectory(${DIR}) + + if (USE_NEURON) + set(DIR "hifiNeuron") + add_subdirectory(${DIR}) + endif() + set(DIR "hifiKinect") add_subdirectory(${DIR})