diff options
| -rw-r--r-- | project/toolset.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/project/toolset.py b/project/toolset.py index 8751b57..4451d7c 100644 --- a/project/toolset.py +++ b/project/toolset.py @@ -447,10 +447,8 @@ class CMakeCustom(Toolset): @staticmethod def makefiles(): - if on_windows(): - if shutil.which("mingw32-make"): - return "MinGW Makefiles" - return "Unix Makefiles" + if on_windows() and shutil.which("mingw32-make"): + return "MinGW Makefiles" # On Linux, make all the way: return "Unix Makefiles" |
