Commit 29cbcc6
authored
Use CMake's MINGW variable instead of checking generator name (#720)
The generator name check was unreliable - CMake already detects
MinGW properly via the MINGW variable. This works regardless of
which generator (Makefiles/Ninja/etc) is being used.
Also add MSYS environment detection for completeness.1 parent dba599c commit 29cbcc6
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
| 174 | + | |
175 | 175 | | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
176 | 179 | | |
177 | 180 | | |
178 | 181 | | |
| |||
0 commit comments