]> Creatis software - bbtk.git/blobdiff - CMakeLists.txt
*** empty log message ***
[bbtk.git] / CMakeLists.txt
index 341660534cbc30eb2a9acda23c1a461da87462af..269e8e91d77696706790d435a8c5c6f0c0d6f547 100644 (file)
@@ -1,8 +1,16 @@
+#cmake_minimum_required(VERSION 2.4)
+#if(COMMAND cmake_policy)
+  # UNCOMMENT the 3 lines 'cmake_policy(...
+  # If you'er using cmake 2.6
+  #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