diff options
author | Brad King <brad.king@kitware.com> | 2011-02-24 20:14:08 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-02-24 20:14:08 (GMT) |
commit | c3e452e944f915975d13d89023cd43ed3dba5221 (patch) | |
tree | a12ae00856e6f1e5fbcd882c0a3089a743a2216d /Utilities | |
parent | a9841e6e9aae1f2df0e3d94031dc3816c269d4b5 (diff) | |
download | CMake-c3e452e944f915975d13d89023cd43ed3dba5221.zip CMake-c3e452e944f915975d13d89023cd43ed3dba5221.tar.gz CMake-c3e452e944f915975d13d89023cd43ed3dba5221.tar.bz2 |
Require at least CMake 2.6.3 to build current CMake
Remove some cruft left for supporting builds with CMake 2.4.
Diffstat (limited to 'Utilities')
-rw-r--r-- | Utilities/cmcurl/CMakeLists.txt | 8 | ||||
-rw-r--r-- | Utilities/cmlibarchive/CMakeLists.txt | 2 |
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. |