On 10/31/07, James Bigler <[EMAIL PROTECTED]> wrote:

> # -- Determine the version of OSX
> # -- 8 and less are OSX 10.0 - 10.4
> # -- 9 is 10.5 (LEOPARD)
> IF (APPLE)
>    EXEC_PROGRAM(uname ARGS -v  OUTPUT_VARIABLE DARWIN_VERSION)

you can also parse the output of /usr/bin/sw_vers, which will give you
the OSX version (instead of the darwin version) and the build number.
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to