SCons: Ensure CPPDEFINES is properly utilized
This commit is contained in:
@@ -66,7 +66,7 @@ if env["builtin_glslang"]:
|
||||
# and in installed public headers.
|
||||
env_glslang.Prepend(CPPEXTPATH=[thirdparty_dir, "#thirdparty"])
|
||||
|
||||
env_glslang.Append(CPPDEFINES=["ENABLE_OPT=0"])
|
||||
env_glslang.Append(CPPDEFINES=[("ENABLE_OPT", 0)])
|
||||
|
||||
env_thirdparty = env_glslang.Clone()
|
||||
env_thirdparty.disable_warnings()
|
||||
|
||||
Reference in New Issue
Block a user