Commit 0f0ecfd
Use CMake's MINGW variable instead of checking generator name
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 added MSYS environment detection for completeness.1 parent dba599c commit 0f0ecfd
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
| 174 | + | |
175 | 175 | | |
176 | 176 | | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
177 | 181 | | |
178 | 182 | | |
179 | 183 | | |
| |||
0 commit comments