[osg-users] Community Feedback Required : What minimum CMake version should we require?

Robert Osfield robert.osfield at gmail.com
Wed Jun 8 09:49:45 PDT 2016


Hi All,

We have various optional script paths in our CMake build system to try
and keep things working on older CMake versions, the minimum currently
is set in OpenSceneGraph/CMakeLists.txt:

IF(WIN32)
    CMAKE_MINIMUM_REQUIRED(VERSION 2.4.6 FATAL_ERROR)
ELSE(WIN32)
    IF(APPLE)
        CMAKE_MINIMUM_REQUIRED(VERSION 2.6.0 FATAL_ERROR)
    ELSE(APPLE)
        CMAKE_MINIMUM_REQUIRED(VERSION 2.4.4 FATAL_ERROR)
    ENDIF(APPLE)
ENDIF(WIN32)


This bit of script is ancient though, something coded in when we first
added CMake build system.  Fast forward today, can we up the require
version to 2.6?  2.8?

Robert.



More information about the osg-users mailing list