-
Notifications
You must be signed in to change notification settings - Fork 786
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Have a look at your cmake_env.inc #99
Comments
ghost
mentioned this issue
Jun 4, 2023
gozfree
added a commit
that referenced
this issue
Jul 23, 2023
yes, thanks for your help |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On MSYS2,
CMAKE_SYSTEM_NAME
is alwaysWindows
so your check forMSYS
andMINGW32
will not work. You can use these variables instead:https://cmake.org/cmake/help/latest/variable/MINGW.html
https://cmake.org/cmake/help/latest/variable/MSVC.html
https://cmake.org/cmake/help/latest/variable/WIN32.html
For Linux you still have to check with
CMAKE_SYSTEM_NAME
. Note: since cmake 3.25 you could use the variableLINUX
.The text was updated successfully, but these errors were encountered: