diff options
author | Yuri Sizov <yuris@humnom.net> | 2023-07-12 17:15:25 +0200 |
---|---|---|
committer | Yuri Sizov <yuris@humnom.net> | 2023-07-12 17:15:25 +0200 |
commit | 661c3954a6f76aa58ecce5dc2e0e476a7c8ec6b1 (patch) | |
tree | 7164b32813df5c6455ffd267f4b3f8a8b0bca862 /platform/linuxbsd/detect.py | |
parent | f25233cbc9386d35baa4c5a9aa8bbe998c999440 (diff) | |
parent | 34a07b81ae640dc877a47091ca9a63d1a2cba07b (diff) | |
download | redot-engine-661c3954a6f76aa58ecce5dc2e0e476a7c8ec6b1.tar.gz |
Merge pull request #73443 from akien-mga/unbundle-openxr
Allow unbundling OpenXR (for Linux distros)
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 ce743fbf8a..a723bb5d58 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 |