]> Creatis software - clitk.git/commitdiff
cmake_minimum_required back to 2.4
authormpech <maxime.pech@insa-lyon.fr>
Thu, 19 May 2011 12:40:12 +0000 (14:40 +0200)
committermpech <maxime.pech@insa-lyon.fr>
Thu, 19 May 2011 12:40:12 +0000 (14:40 +0200)
cmake_policy 5 new for add_definitions in tests

CMakeLists.txt
tests/CMakeLists.txt

index a340a36f8b1a988abd6a2aa778e8047d01eaacc6..8ce5b58371c0804f5ff99368987b438c9306422d 100644 (file)
@@ -1,7 +1,7 @@
 #=========================================================
 # CLITK = Command Line ITK
-cmake_minimum_required(VERSION 2.8)
-cmake_policy(VERSION 2.8)
+cmake_minimum_required(VERSION 2.4)
+cmake_policy(VERSION 2.4)
 if(COMMAND cmake_policy)
     cmake_policy(SET CMP0003 NEW)
 endif(COMMAND cmake_policy)
index b85b146e75a45f58379761e693dbd0cbeca1a327..0b0ad3eac8c729c40cd519761c52cbbf092d7397 100644 (file)
@@ -1,3 +1,6 @@
+cmake_policy(SET CMP0005 NEW)
+
+
 macro(ADD_GOOGLE_TESTS executable)
   foreach ( source ${ARGN} )
     file(READ "${source}" contents)