]> Creatis software - bbtk.git/commitdiff
Prepare cmake 2.6
authorjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Tue, 3 Jun 2008 07:18:40 +0000 (07:18 +0000)
committerjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Tue, 3 Jun 2008 07:18:40 +0000 (07:18 +0000)
CMakeLists.txt

index 9ea78a11eae385d276924c05bf4bccd54091dfef..82dcc677a98254c0b1beb9fc102c31697d397c8b 100644 (file)
@@ -1,8 +1,14 @@
+#cmake_minimum_required(VERSION 2.4)
+#if(COMMAND cmake_policy)
+  cmake_policy(SET CMP0000 OLD)
+      cmake_policy(SET CMP0005 NEW)
+ cmake_policy(SET CMP0003 NEW)
+ #   endif(COMMAND cmake_policy)
+
 #-----------------------------------------------------------------------------
 PROJECT(BBTK) 
 #-----------------------------------------------------------------------------
 
-#cmake_minimum_required(VERSION 2.4)
 
 #-----------------------------------------------------------------------------
 # Set global configuration of the toolkit