File: system-openxr.patch

package info (click to toggle)
freespace2 25.0.0%2Brepack-1
  • links: PTS, VCS
  • area: non-free
  • in suites: forky, sid
  • size: 47,232 kB
  • sloc: cpp: 657,500; ansic: 22,305; sh: 293; python: 200; makefile: 198; xml: 181
file content (26 lines) | stat: -rw-r--r-- 725 bytes parent folder | download
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")