diff options
-rw-r--r-- | tools/shared.py | 2 |
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 |