Quantcast
Channel: User Marco A. - Stack Overflow
Viewing all articles
Browse latest Browse all 45

CMake express the "greater or equal" statement

$
0
0

I know that in CMake I can check for the compiler version like this

if(MSVC_VERSION LESS 1700)... // MSVC is lower than MSVC2012

but how do I express this in CMake syntax?

if(MSVC_VERSION GREATER_OR_EQUAL_TO 1700)... // MSVC greater or equal to MSVC2012

Viewing all articles
Browse latest Browse all 45


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>