diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-16 14:47:31 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-06-16 16:25:04 +0200 |
commit | 34a07b81ae640dc877a47091ca9a63d1a2cba07b (patch) | |
tree | 5ce7452cdaaecda25de4e002258ee95d3c54200b /platform/linuxbsd/detect.py | |
parent | 598378513b256e69e9b824c36136774c41cc763c (diff) | |
download | redot-engine-34a07b81ae640dc877a47091ca9a63d1a2cba07b.tar.gz |
Allow unbundling OpenXR (for Linux distros)
Copy XrMatrix4x4f_CreateProjectionFov to our OpenXRUtil, instead of relying
on a private header.
Diffstat (limited to 'platform/linuxbsd/detect.py')
-rw-r--r-- | platform/linuxbsd/detect.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/linuxbsd/detect.py b/platform/linuxbsd/detect.py index dadc03685b..11fd2fc809 100644 --- a/platform/linuxbsd/detect.py +++ b/platform/linuxbsd/detect.py @@ -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 |