Merge pull request #108613 from Repiteo/scons/fix-defines

SCons: Ensure `CPPDEFINES` is properly utilized
This commit is contained in:
Thaddeus Crews 2025-09-16 11:44:45 -05:00
commit 4dec6af2c8
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC
9 changed files with 80 additions and 88 deletions

View file

@ -18,7 +18,7 @@ thirdparty_obj = []
if env["platform"] == "android":
# may need to set OPENXR_ANDROID_VERSION_SUFFIX
env_openxr.AppendUnique(CPPDEFINES=["XR_OS_ANDROID", "XR_USE_PLATFORM_ANDROID"])
env_openxr.AppendUnique(CPPDEFINES=["JSON_USE_EXCEPTION=0"])
env_openxr.AppendUnique(CPPDEFINES=[("JSON_USE_EXCEPTION", 0)])
# may need to include java parts of the openxr loader
elif env["platform"] == "linuxbsd":