From: jean-pierre roux Date: Thu, 2 Sep 2010 13:56:48 +0000 (+0000) Subject: Avoid warnings X-Git-Tag: CREATOOLS.2-0-3~25 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=f4f62631e53952b09e9208fa0226f7958809ea24;p=bbtk.git Avoid warnings --- 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) #-----------------------------------------------------------------------------