You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Allow unbundling OpenXR (for Linux distros)
Copy XrMatrix4x4f_CreateProjectionFov to our OpenXRUtil, instead of relying
on a private header.
(cherry picked from commit 34a07b81ae)
This commit is contained in:
committed by
Yuri Sizov
parent
a4c041b6b6
commit
8be838481d
@@ -291,6 +291,9 @@ def configure(env: "Environment"):
|
||||
# No pkgconfig file so far, hardcode expected lib name.
|
||||
env.Append(LIBS=["embree3"])
|
||||
|
||||
if not env["builtin_openxr"]:
|
||||
env.ParseConfig("pkg-config openxr --cflags --libs")
|
||||
|
||||
if env["fontconfig"]:
|
||||
if not env["use_sowrap"]:
|
||||
if os.system("pkg-config --exists fontconfig") == 0: # 0 means found
|
||||
|
||||
Reference in New Issue
Block a user