diff options
author | Jukka Jylänki <jujjyl@gmail.com> | 2013-09-10 16:03:17 +0300 |
---|---|---|
committer | Jukka Jylänki <jujjyl@gmail.com> | 2013-09-10 16:03:17 +0300 |
commit | 48b79570deeee7fa22a6c5876aa949601aa7549d (patch) | |
tree | 8a95e4a201e42179da4a35cb5bb0401f8a23ac9f | |
parent | 5ad48b3982d912c557a871e4219e12c1eef6dd69 (diff) |
Add missing 'if WINDOWS' in CMake toolchain handling code.
-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 |