From fb24c84d86bedca9fd0e0dd397b6eb9042877e64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20Gro=C3=9F?= Date: Thu, 16 Sep 2021 06:11:01 +0200 Subject: [PATCH] Disable unsupported dependencies on aarch64 Linux --- plugins/CMakeLists.txt | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt index 195021e2fe..fbe9e6b03d 100644 --- a/plugins/CMakeLists.txt +++ b/plugins/CMakeLists.txt @@ -12,14 +12,17 @@ list(REMOVE_ITEM PLUGIN_SUBDIRS "CMakeFiles") set(CMAKE_BUILD_TYPE "Release") # client-side plugins if (NOT SERVER_ONLY AND NOT ANDROID) - set(DIR "oculus") - add_subdirectory(${DIR}) + if (NOT CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64") + set(DIR "oculus") + add_subdirectory(${DIR}) + set(DIR "openvr") + add_subdirectory(${DIR}) + set(DIR "oculusLegacy") + add_subdirectory(${DIR}) + endif() + set(DIR "hifiSdl2") add_subdirectory(${DIR}) - set(DIR "openvr") - add_subdirectory(${DIR}) - set(DIR "oculusLegacy") - add_subdirectory(${DIR}) if (USE_SIXENSE) set(DIR "hifiSixense") @@ -32,8 +35,12 @@ if (NOT SERVER_ONLY AND NOT ANDROID) add_subdirectory(${DIR}) set(DIR "hifiKinect") add_subdirectory(${DIR}) - set(DIR "steamClient") - add_subdirectory(${DIR}) + + if (NOT CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64") + set(DIR "steamClient") + add_subdirectory(${DIR}) + endif() + set(DIR "hifiLeapMotion") add_subdirectory(${DIR})