diff --git a/SConstruct b/SConstruct index 28395227d2c..50cb43b218d 100644 --- a/SConstruct +++ b/SConstruct @@ -788,7 +788,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")