summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-06-11 19:18:51 (GMT)
committerBrad King <brad.king@kitware.com>2009-06-11 19:18:51 (GMT)
commitb8b749aced36d948665d70f2004b2bf7e96e5d50 (patch)
treed971ae6a2aa8c9950584feee64f2c74097bbc5a0
parent0d31c3aafb2db4d40b5ed96a3b47f431c9bb9e77 (diff)
downloadCMake-b8b749aced36d948665d70f2004b2bf7e96e5d50.zip
CMake-b8b749aced36d948665d70f2004b2bf7e96e5d50.tar.gz
CMake-b8b749aced36d948665d70f2004b2bf7e96e5d50.tar.bz2
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.
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b657f6d..b1ca6fb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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)