Only include editor/SCsub when building the editor: tools=yes

This commit is contained in:
Marcel Admiraal 2022-07-07 12:16:37 +01:00
parent f60cb2931c
commit 2efe9a89bb
1 changed files with 2 additions and 1 deletions

View File

@ -788,7 +788,8 @@ if selected_platform in platform_list:
SConscript("core/SCsub") SConscript("core/SCsub")
SConscript("servers/SCsub") SConscript("servers/SCsub")
SConscript("scene/SCsub") SConscript("scene/SCsub")
SConscript("editor/SCsub") if env["tools"]:
SConscript("editor/SCsub")
SConscript("drivers/SCsub") SConscript("drivers/SCsub")
SConscript("platform/SCsub") SConscript("platform/SCsub")