COMP: We now require CMake 2.4.5 or higher to build

We use the CMakeDependentOption module unconditionally, so we must
require a version of CMake new enough to provide it.
This commit is contained in:
Brad King 2009-06-11 15:18:51 -04:00
parent 0d31c3aafb
commit b8b749aced
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
CMAKE_MINIMUM_REQUIRED(VERSION 2.4.5 FATAL_ERROR)
PROJECT(CMake)
CMAKE_MINIMUM_REQUIRED(VERSION 2.4 FATAL_ERROR)
IF(COMMAND CMAKE_POLICY)
CMAKE_POLICY(SET CMP0003 NEW)
ENDIF(COMMAND CMAKE_POLICY)