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.
This commit is contained in:
Julian Eisel 2020-03-18 14:55:05 +01:00
parent 82fc81816e
commit 19df67cd75
1 changed files with 1 additions and 0 deletions

View File

@ -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)