Closed danielpieczko closed 5 months ago
Two use-cases:
The CMake if command has options to do version comparison of strings, instead of lexical. Then use-case 2 could look like:
if
if(XCOMMON_CMAKE_VER VERSION_GREATER_EQUAL 1.1.0) # do something using supported feature else() # do workaround as feature wasn't implemented endif()
Two use-cases:
The CMake
if
command has options to do version comparison of strings, instead of lexical. Then use-case 2 could look like: