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

(cherry picked from commit 2efe9a89bb)
This commit is contained in:
Marcel Admiraal 2022-07-07 12:16:37 +01:00 committed by Rémi Verschelde
parent c18e18563f
commit 12c5348180

View file

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