Added different cmake version requirements across platforms

This commit is contained in:
Robert Osfield 2007-04-12 10:14:10 +00:00
parent 071a7775ed
commit 054d009aac

View File

@ -1,4 +1,13 @@
CMAKE_MINIMUM_REQUIRED(VERSION 2.4.6 FATAL_ERROR) IF(WIN32)
CMAKE_MINIMUM_REQUIRED(VERSION 2.4.6 FATAL_ERROR)
ELSE(WIN32)
IF(APPLE)
CMAKE_MINIMUM_REQUIRED(VERSION 2.4.6 FATAL_ERROR)
ELSE(APPLE)
CMAKE_MINIMUM_REQUIRED(VERSION 2.4.0 FATAL_ERROR)
ENDIF(APPLE)
ENDIF(WIN32)
PROJECT(OpenSceneGraph) PROJECT(OpenSceneGraph)