]> Creatis software - creaEnvironment.git/commitdiff
*** empty log message ***
authorguigues <guigues>
Thu, 15 Jan 2009 09:42:51 +0000 (09:42 +0000)
committerguigues <guigues>
Thu, 15 Jan 2009 09:42:51 +0000 (09:42 +0000)
CMakeLists.txt

index a28b91e4f0e518036213e17d56e11f460072d78a..a121e98ff07f2cdbe3a10ab0547393a4d5ee9b5b 100644 (file)
@@ -1,11 +1,4 @@
 CMAKE_MINIMUM_REQUIRED(VERSION 2.4)
-#MARK_AS_ADVANCED( FORCE CMAKE_BACKWARDS_COMPATIBILITY )
-
-# for CMake 2.6 corrected behaviour (see "cmake --help-policy CMP0003")
-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)
-ENDIF(COMMAND cmake_policy AND ${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} GREATER 4)
 
 PROJECT(creaEnvironment)
 
@@ -22,6 +15,7 @@ ENDIF(crea_FOUND)
 
 CREA_PREVENT_IN_SOURCE_BUILD()
 
+SET(USE_CREA OFF)
 SET(USE_GDCM OFF)
 SET(USE_GDCM_VTK OFF)
 SET(USE_WXWIDGETS OFF)