diff --git a/core/SCsub b/core/SCsub index af83b49fea5..1545bc8aeb2 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 8f87e12cb99..b6fd7bf0430 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')