mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 02:21:15 +00:00
Merge pull request #73443 from akien-mga/unbundle-openxr
Allow unbundling OpenXR (for Linux distros)
This commit is contained in:
commit
661c3954a6
9 changed files with 164 additions and 50 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue