Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Eisel <julian@blender.org>2020-03-18 16:55:05 +0300
committerJulian Eisel <julian@blender.org>2020-03-18 17:19:41 +0300
commit19df67cd75e1d282d8feeb72e8522df33337f17b (patch)
treeeca204fcc0370ce3541a39d94de92209be5c48f4 /CMakeLists.txt
parent82fc81816ed4eee358fe9bcf58638b72ebf83a32 (diff)
Fix build errors with WITH_HEADLESS or WITH_GHOST_SDL
Disable WITH_XR_OPENXR entirely for these cases. For headless XR features don't make much sense, for SDL support is not implemented.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f71646f4aba..a781488002a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -684,6 +684,7 @@ if(WITH_GHOST_SDL OR WITH_HEADLESS)
set(WITH_X11_ALPHA OFF)
set(WITH_GHOST_XDND OFF)
set(WITH_INPUT_IME OFF)
+ set(WITH_XR_OPENXR OFF)
endif()
if(WITH_CPU_SSE)