]> Creatis software - bbtk.git/blobdiff - CMakeLists.txt
Last fixes (until next one)
[bbtk.git] / CMakeLists.txt
index 675bd1e6845d3f3847eb1d858f8cfecb7b9f3d55..fbb741f913a4ec364185111f0cef2d692eab2240 100644 (file)
@@ -1,7 +1,18 @@
+#cmake_minimum_required(VERSION 2.4)
+#if(COMMAND cmake_policy)
+  # UNCOMMENT the 3 lines 'cmake_policy(...
+  # If you are using cmake 2.6 
+  # We can test it automatically, no JP ?
+  #cmake_policy(SET CMP0000 OLD)
+  #cmake_policy(SET CMP0005 NEW)
+  #cmake_policy(SET CMP0003 NEW)
+ #   endif(COMMAND cmake_policy)
+
 #-----------------------------------------------------------------------------
 PROJECT(BBTK) 
 #-----------------------------------------------------------------------------
 
+
 #-----------------------------------------------------------------------------
 # Set global configuration of the toolkit
 INCLUDE(kernel/cmake/BBTKRootCMakeLists.cmake)
@@ -16,3 +27,4 @@ SUBDIRS(kernel)
 # The "core" packages 
 SUBDIRS(packages)
 #-----------------------------------------------------------------------------
+