X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=CMakeLists.txt;h=2c928b8c88a891433a54ecd3e9f2debc5325dfbd;hb=71a82f376d593f291d2d0ac6d9514b5367f2c845;hp=a2f62b2886390435de935586b46b5bb3fb8e95f9;hpb=f2ea017626fea02b78911776a5f6c6a5e240a816;p=bbtk.git diff --git a/CMakeLists.txt b/CMakeLists.txt index a2f62b2..2c928b8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,6 +2,12 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.4) #----------------------------------------------------------------------------- + if(COMMAND cmake_policy) + cmake_policy(SET CMP0003 NEW) + cmake_policy(SET CMP0005 NEW) + cmake_policy(SET CMP0011 NEW) + endif(COMMAND cmake_policy) + #----------------------------------------------------------------------------- PROJECT(bbtk) #-----------------------------------------------------------------------------