SCons: Ensure CPPDEFINES is properly utilized

This commit is contained in:
Thaddeus Crews 2025-07-14 12:10:21 -05:00
parent d5cb0f948e
commit 61956f2e06
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":