Replies: 1 comment 8 replies
-
|
I think "if WIN32 and not MSVC" would be appropriate in this case. If you want to link with msys runtime then "if MSYS" would be correct one. |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there any way how can I distinguish between these two, I need to target MSYS2 UCRT64 specifically but not mingw-w64. CMake doesn't support this, the
if(MINGW)targets both.This is the code I want to use in MSYS2 but need to exclude it in mingw-w64:
Beta Was this translation helpful? Give feedback.
All reactions