aboutsummaryrefslogtreecommitdiff
path: root/tools/shared.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/shared.py')
-rw-r--r--tools/shared.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/shared.py b/tools/shared.py
index e5ace821..94daadae 100644
--- a/tools/shared.py
+++ b/tools/shared.py
@@ -863,7 +863,7 @@ class Building:
# On Windows specify MinGW Makefiles if we have MinGW and no other toolchain was specified, to avoid CMake
# pulling in a native Visual Studio, or Unix Makefiles.
- if not '-G' in args and Building.which('mingw32-make'):
+ if WINDOWS and not '-G' in args and Building.which('mingw32-make'):
args += ['-G', 'MinGW Makefiles']
return args