summaryrefslogtreecommitdiffstats
path: root/SConstruct
diff options
context:
space:
mode:
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct3
1 files changed, 1 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct
index 7deafa7ecd..a1f28b1fc6 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1025,14 +1025,13 @@ if env["ninja"]:
Exit(255)
SetOption("experimental", "ninja")
+ env.Tool("ninja")
# By setting this we allow the user to run ninja by themselves with all
# the flags they need, as apparently automatically running from scons
# is way slower.
SetOption("disable_execute_ninja", True)
- env.Tool("ninja")
-
# Threads
if env["threads"]:
env.Append(CPPDEFINES=["THREADS_ENABLED"])