diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-10-01 12:45:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-01 12:45:50 +0200 |
commit | c2abf1a4e93d2870ddecb2e7e7c80ba3f8be3397 (patch) | |
tree | 1c2c5e8253a7ed84cee097a1390bd0d8e53bbe75 /editor/SCsub | |
parent | c51caa3dbdf4acaa7e063c46ae8026adb0633008 (diff) | |
parent | 6bfb7944d9a1639042ba23fd0ff9950fff9464dd (diff) |
Merge pull request #22582 from akien-mga/scons-clean-cpppath
SCons: Remove avoidable defines from main env's CPPPATH
Diffstat (limited to 'editor/SCsub')
-rw-r--r-- | editor/SCsub | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/editor/SCsub b/editor/SCsub index d5ac8c7008..82a4ecb6c0 100644 --- a/editor/SCsub +++ b/editor/SCsub @@ -79,7 +79,9 @@ if env['tools']: env.CommandNoCache('#editor/builtin_fonts.gen.h', flist, run_in_subprocess(editor_builders.make_fonts_header)) env.add_source_files(env.editor_sources, "*.cpp") - env.add_source_files(env.editor_sources, ["#thirdparty/misc/clipper.cpp"]) + env_thirdparty = env.Clone() + env_thirdparty.disable_warnings() + env_thirdparty.add_source_files(env.editor_sources, ["#thirdparty/misc/clipper.cpp"]) SConscript('collada/SCsub') SConscript('doc/SCsub') |