Commit 17cf672a04ad1e105b21182bf936234ba95d2ac3

Viktor Szakats 2023-12-14T13:43:04

cmake: limit some macros to mingw Syncing this up with autotools. Also use the built-in `MINGW` variable.