diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-07-03 18:01:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-03 18:01:22 +0200 |
commit | a3bdb6c8d83d424da664ea8c4ee680a9b67e1b30 (patch) | |
tree | 8672de67513b1971abcb9c5fb5b0337ddcf67184 /modules/svg/SCsub | |
parent | f5f7244a2b59de60b2c1c29346b2fe5ded2ae2d0 (diff) | |
parent | b0d41847ed1e4cd9407dce0d26aaa09db656ec12 (diff) |
Merge pull request #30277 from akien-mga/scons-cppdefines
SCons: Use CPPDEFINES instead of CPPFLAGS for pre-processor defines
Diffstat (limited to 'modules/svg/SCsub')
-rw-r--r-- | modules/svg/SCsub | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/svg/SCsub b/modules/svg/SCsub index 90bfe22abb..9324c1634b 100644 --- a/modules/svg/SCsub +++ b/modules/svg/SCsub @@ -16,7 +16,7 @@ env_svg.Prepend(CPPPATH=[thirdparty_dir]) # FIXME: Needed in editor/editor_themes.cpp for now, but ideally there # shouldn't be a dependency on modules/ and its own 3rd party deps. env.Prepend(CPPPATH=[thirdparty_dir]) -env.Append(CPPFLAGS=["-DSVG_ENABLED"]) +env.Append(CPPDEFINES=["SVG_ENABLED"]) env_thirdparty = env_svg.Clone() env_thirdparty.disable_warnings() |