[CMake] Detecting Mac OS X Version

Mike Jackson imikejackson at gmail.com
Wed Oct 31 09:31:22 EDT 2007


Would someone have an example of detecting the specific version of OS  
X that cmake is running on? I would like add values based on OS X  
version.

IF (OS_X_VERSION matches "10.5")
   ......
ENDIF (OS_X_VERSION matches "10.5")

or something to that effect..


Thanks
--
Mike Jackson
imikejackson & gmail * com





More information about the CMake mailing list