X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=CMakeLists.txt;h=fbb741f913a4ec364185111f0cef2d692eab2240;hb=1d5111d5487f38d1cde7dcff7f1474189548acaf;hp=675bd1e6845d3f3847eb1d858f8cfecb7b9f3d55;hpb=1a15ca3e697702e7a28d0ccf4300691810ca25d0;p=bbtk.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 675bd1e..fbb741f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) #----------------------------------------------------------------------------- +