Add information about -DCMAKE_IGNORE_PATH to ignore MinGW

Tip from:
https://github.com/aseprite/aseprite/issues/2449#issuecomment-649004147
This commit is contained in:
David Capello 2020-06-24 16:00:18 -03:00
parent 200b0ce73d
commit 418cbd3f20

View File

@ -133,12 +133,20 @@ or uncompressed.
## MinGW ## MinGW
We don't support MinGW compiler. If you see that the detected C++ We don't support MinGW compiler and it might bring some problems into
compiler by cmake is `C:\MinGW\bin\c++.exe` or something similar, you the compilation process. If you see that the detected C++ compiler by
have to get rid of MinGW path (`C:\MinGW\bin`) from the `PATH` cmake is `C:\MinGW\bin\c++.exe` or something similar, you have to get
environment variable and run cmake again from scratch so the Visual rid of MinGW path (`C:\MinGW\bin`) from the `PATH` environment
Studio C++ compiler (`cl.exe`) is used instead. More information in variable and run cmake again from scratch, so the Visual Studio C++
[issue #2449](https://github.com/aseprite/aseprite/issues/2449) compiler (`cl.exe`) is used instead.
You can define the `CMAKE_IGNORE_PATH` variable when running cmake for
the first time in case that you don't know or don't want to modify the
`PATH` variable, e.g.:
cmake -DCMAKE_IGNORE_PATH=C:\MinGW\bin ...
More information in [issue #2449](https://github.com/aseprite/aseprite/issues/2449)
## macOS details ## macOS details