diff --git a/SConstruct b/SConstruct index af556f5ac17..00ff2117b29 100644 --- a/SConstruct +++ b/SConstruct @@ -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")