From d036e0618d88e1338de8af3e5b0d5a147ba02906 Mon Sep 17 00:00:00 2001 From: Seth Alves Date: Sat, 12 Mar 2016 07:54:59 -0800 Subject: [PATCH] don't build oculus-legacy plugin on linux --- plugins/oculusLegacy/CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/oculusLegacy/CMakeLists.txt b/plugins/oculusLegacy/CMakeLists.txt index 88b55b7a79..9e97b3791c 100644 --- a/plugins/oculusLegacy/CMakeLists.txt +++ b/plugins/oculusLegacy/CMakeLists.txt @@ -6,7 +6,9 @@ # See the accompanying file LICENSE or http:#www.apache.org/licenses/LICENSE-2.0.html # -if (NOT WIN32) +# Windows doesn't need this, and building it currently make Linux unstable. +# if (NOT WIN32) +if (APPLE) set(TARGET_NAME oculusLegacy) setup_hifi_plugin() @@ -19,4 +21,4 @@ if (NOT WIN32) target_include_directories(${TARGET_NAME} PRIVATE ${LIBOVR_INCLUDE_DIRS}) target_link_libraries(${TARGET_NAME} ${LIBOVR_LIBRARIES}) -endif() \ No newline at end of file +endif()