소스 검색

SCons: Disable openxr module with disable_3d=yes

Fixes #69470.
Rémi Verschelde 2 년 전
부모
커밋
75d5dfe591
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      modules/openxr/config.py

+ 1 - 1
modules/openxr/config.py

@@ -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