1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
Last-Update: 2025-10-20
Forwarded: not-needed
Author: Dmitry Smirnov <onlyjob@member.fsf.org>
Description: build with system "libopenxr-dev" instead of bundled "lib/openxr"
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -33,7 +33,3 @@
add_subdirectory(accidental-noise)
ADD_SUBDIRECTORY(imgui)
-
-if(FSO_BUILD_WITH_OPENXR)
- add_subdirectory(openxr)
-endif()
--- a/code/CMakeLists.txt
+++ b/code/CMakeLists.txt
@@ -86,7 +86,7 @@
target_link_libraries(code PUBLIC stb)
IF(FSO_BUILD_WITH_OPENXR)
- target_link_libraries(code PUBLIC OpenXR::openxr_loader)
+ target_link_libraries(code PUBLIC openxr_loader)
target_include_directories(code PUBLIC OpenXR::Headers)
ENDIF()
IF(CMAKE_SYSTEM_NAME MATCHES "Linux")
|