[osg-users] [Bug] Invalid CMake version checks

Kevin Kofler kevin.kofler at chello.at
Fri Jul 25 17:17:01 PDT 2008


This construct is not future safe:
IF(CMAKE_MAJOR_VERSION EQUAL 2 AND CMAKE_MINOR_VERSION GREATER 4)

This will break the day CMake 3.0 is released.

        Kevin Kofler




More information about the osg-users mailing list