1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-05 19:31:35 +00:00

SCons: Disable openxr module with disable_3d=yes

Fixes #69470.
This commit is contained in:
Rémi Verschelde
2022-12-02 11:40:24 +01:00
parent 1e3919c409
commit 75d5dfe591

View File

@@ -1,6 +1,6 @@
def can_build(env, platform):
if platform in ("linuxbsd", "windows", "android"):
return env["openxr"]
return env["openxr"] and not env["disable_3d"]
else:
# not supported on these platforms
return False