summaryrefslogtreecommitdiff
path: root/editor/SCsub
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-10-01 12:45:50 +0200
committerGitHub <noreply@github.com>2018-10-01 12:45:50 +0200
commitc2abf1a4e93d2870ddecb2e7e7c80ba3f8be3397 (patch)
tree1c2c5e8253a7ed84cee097a1390bd0d8e53bbe75 /editor/SCsub
parentc51caa3dbdf4acaa7e063c46ae8026adb0633008 (diff)
parent6bfb7944d9a1639042ba23fd0ff9950fff9464dd (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/SCsub4
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')