summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-03-17 20:22:28 (GMT)
committerBrad King <brad.king@kitware.com>2008-03-17 20:22:28 (GMT)
commit33c84b50e9ae6f8d7cee4202356d906e1343034e (patch)
tree8b2d79e1f1a333b9204fe678fc78ca83f4b357f7 /Utilities
parent317d1705af4ae81e4a0b74db6f538ab0a873b041 (diff)
downloadCMake-33c84b50e9ae6f8d7cee4202356d906e1343034e.zip
CMake-33c84b50e9ae6f8d7cee4202356d906e1343034e.tar.gz
CMake-33c84b50e9ae6f8d7cee4202356d906e1343034e.tar.bz2
ENH: Set CMake Policy CMP0003 to NEW behavior to build without warnings with the upcoming CMake 2.6 release.
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/cmcurl/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/Utilities/cmcurl/CMakeLists.txt b/Utilities/cmcurl/CMakeLists.txt
index 666c7a7..3ed177f 100644
--- a/Utilities/cmcurl/CMakeLists.txt
+++ b/Utilities/cmcurl/CMakeLists.txt
@@ -1,4 +1,7 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.0)
+CMAKE_MINIMUM_REQUIRED(VERSION 2.4)
+IF(COMMAND CMAKE_POLICY)
+ CMAKE_POLICY(SET CMP0003 NEW)
+ENDIF(COMMAND CMAKE_POLICY)
PROJECT(LIBCURL C)
INCLUDE_REGULAR_EXPRESSION("^.*$")