CMake: disable BUILD_WITH_WAYLAND_HEADERS for OpenXR;

(cherry picked from commit 78586c3770)
This commit is contained in:
bjorn 2024-02-09 11:01:06 -08:00
parent 053893f3f6
commit c17abe4f24
1 changed files with 1 additions and 0 deletions

View File

@ -212,6 +212,7 @@ if(LOVR_ENABLE_HEADSET AND LOVR_USE_OPENXR)
set(LOVR_OPENXR ${OPENXR_LIBRARIES})
else()
set(DYNAMIC_LOADER ON CACHE BOOL "")
set(BUILD_WITH_WAYLAND_HEADERS OFF CACHE BOOL "")
include_directories(deps/openxr/include)
add_subdirectory(deps/openxr openxr)
set(LOVR_OPENXR openxr_loader)