]> Creatis software - creaContours.git/commitdiff
Avoid warnings
authorjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Thu, 4 Mar 2010 11:35:50 +0000 (11:35 +0000)
committerjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Thu, 4 Mar 2010 11:35:50 +0000 (11:35 +0000)
CMakeLists.txt

index 3cbafed4a59b5cf12a139e232ae8b45364baf398..3c85cab4e97b5ce7c4599ad24e4d7d26353a166d 100644 (file)
@@ -1,3 +1,11 @@
+# ---------------------------------
+#
+# Unless you are an experimented cmake user,
+# have a look at :
+# http://www.creatis.insa-lyon.fr/site/fr/CreatoosGettingStarted-v2.0.X
+# before starting.
+---------------------------------
+
 CMAKE_MINIMUM_REQUIRED(VERSION 2.4)
 #MARK_AS_ADVANCED( FORCE CMAKE_BACKWARDS_COMPATIBILITY )
 
@@ -5,6 +13,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.4)
 IF(COMMAND cmake_policy AND ${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} GREATER 4)
   CMAKE_POLICY(SET CMP0003 NEW)
   CMAKE_POLICY(SET CMP0005 NEW)
+  CMAKE_POLICY(SET CMP0011 NEW)
 ENDIF(COMMAND cmake_policy AND ${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} GREATER 4)
 
 PROJECT(creaContours)