diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2018-03-13 11:01:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-13 11:01:28 +0100 |
commit | 08415d0f53ba0f4a6f0b500454d8268c57a598a4 (patch) | |
tree | e2fa3df1c41e80c7801dfd2763b6cc0e73bf0ae2 | |
parent | 66877d62736980cfb1d7b2f40ebbcaee5514f8c5 (diff) | |
parent | fa760082f5e219104acba93a63521460463f92f8 (diff) |
Merge pull request #17319 from eska014/polyclipper-toolsonly
Build polygon clipper only in tools builds
-rw-r--r-- | core/SCsub | 1 | ||||
-rw-r--r-- | editor/SCsub | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/core/SCsub b/core/SCsub index af83b49fea..1545bc8aeb 100644 --- a/core/SCsub +++ b/core/SCsub @@ -68,7 +68,6 @@ thirdparty_sources = [ "md5.cpp", "pcg.cpp", "triangulator.cpp", - "clipper.cpp", ] thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources] env.add_source_files(env.core_sources, thirdparty_sources) diff --git a/editor/SCsub b/editor/SCsub index 8f87e12cb9..b6fd7bf043 100644 --- a/editor/SCsub +++ b/editor/SCsub @@ -466,6 +466,7 @@ if env['tools']: env.add_source_files(env.editor_sources, "*.cpp") + env.add_source_files(env.editor_sources, ["#thirdparty/misc/clipper.cpp"]) SConscript('collada/SCsub') SConscript('doc/SCsub') |