summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-03-01 20:30:38 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2011-03-01 20:30:38 (GMT)
commit9a7c6a3cc49131091f5aa9cd36b81cb42ad15a40 (patch)
treee0e021c9dce68c3ed728635c02f7b7abebd0e275 /Utilities
parentbb745612bc40aa6d2473f3a5fc2cd45db3a16761 (diff)
parentc3e452e944f915975d13d89023cd43ed3dba5221 (diff)
downloadCMake-9a7c6a3cc49131091f5aa9cd36b81cb42ad15a40.zip
CMake-9a7c6a3cc49131091f5aa9cd36b81cb42ad15a40.tar.gz
CMake-9a7c6a3cc49131091f5aa9cd36b81cb42ad15a40.tar.bz2
Merge topic 'require-cmake-2.6.3'
c3e452e Require at least CMake 2.6.3 to build current CMake
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/cmcurl/CMakeLists.txt8
-rw-r--r--Utilities/cmlibarchive/CMakeLists.txt2
2 files changed, 2 insertions, 8 deletions
diff --git a/Utilities/cmcurl/CMakeLists.txt b/Utilities/cmcurl/CMakeLists.txt
index 454d2d1..7030b2e 100644
--- a/Utilities/cmcurl/CMakeLists.txt
+++ b/Utilities/cmcurl/CMakeLists.txt
@@ -1,10 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.4)
-IF(COMMAND CMAKE_POLICY)
- CMAKE_POLICY(SET CMP0003 NEW)
-ENDIF(COMMAND CMAKE_POLICY)
-IF(CMAKE_OSX_ARCHITECTURES)
- CMAKE_MINIMUM_REQUIRED(VERSION 2.6.3 FATAL_ERROR)
-ENDIF(CMAKE_OSX_ARCHITECTURES)
+CMAKE_MINIMUM_REQUIRED(VERSION 2.6.3 FATAL_ERROR)
PROJECT(LIBCURL C)
# Setup package meta-data
diff --git a/Utilities/cmlibarchive/CMakeLists.txt b/Utilities/cmlibarchive/CMakeLists.txt
index 08cda1e..0b9380f 100644
--- a/Utilities/cmlibarchive/CMakeLists.txt
+++ b/Utilities/cmlibarchive/CMakeLists.txt
@@ -1,8 +1,8 @@
+CMAKE_MINIMUM_REQUIRED(VERSION 2.6.3 FATAL_ERROR)
#
#
PROJECT(libarchive C)
#
-CMAKE_MINIMUM_REQUIRED(VERSION 2.6.1)
SET(CMAKE_MODULE_PATH "${libarchive_SOURCE_DIR}/build/cmake")
# We use CHECK_TYPE_SIZE for existence tests, so use only one arch.