[Cmake-commits] [cmake-commits] king committed CMakeLists.txt 1.144 1.145
cmake-commits at cmake.org
cmake-commits at cmake.org
Mon Mar 17 16:22:30 EDT 2008
Update of /cvsroot/CMake/CMake
In directory public:/mounts/ram/cvs-serv27193
Modified Files:
CMakeLists.txt
Log Message:
ENH: Set CMake Policy CMP0003 to NEW behavior to build without warnings with the upcoming CMake 2.6 release.
Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/CMakeLists.txt,v
retrieving revision 1.144
retrieving revision 1.145
diff -C 2 -d -r1.144 -r1.145
*** CMakeLists.txt 4 Mar 2008 14:10:05 -0000 1.144
--- CMakeLists.txt 17 Mar 2008 20:22:28 -0000 1.145
***************
*** 1,4 ****
--- 1,8 ----
PROJECT(CMake)
CMAKE_MINIMUM_REQUIRED(VERSION 2.4 FATAL_ERROR)
+ IF(COMMAND CMAKE_POLICY)
+ CMAKE_POLICY(SET CMP0003 NEW)
+ ENDIF(COMMAND CMAKE_POLICY)
+
MARK_AS_ADVANCED(CMAKE_BACKWARDS_COMPATIBILITY)
More information about the Cmake-commits
mailing list