From: jean-pierre roux Date: Thu, 4 Mar 2010 11:35:50 +0000 (+0000) Subject: Avoid warnings X-Git-Tag: CREATOOLS.2-0-3~30 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=abbe0af018a088d5369cee7cac86b9a64eaf4e82;p=creaContours.git Avoid warnings --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 3cbafed..3c85cab 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,3 +1,11 @@ +# --------------------------------- +# +# Unless you are an experimented cmake user, +# have a look at : +# http://www.creatis.insa-lyon.fr/site/fr/CreatoosGettingStarted-v2.0.X +# before starting. +--------------------------------- + CMAKE_MINIMUM_REQUIRED(VERSION 2.4) #MARK_AS_ADVANCED( FORCE CMAKE_BACKWARDS_COMPATIBILITY ) @@ -5,6 +13,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.4) IF(COMMAND cmake_policy AND ${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} GREATER 4) CMAKE_POLICY(SET CMP0003 NEW) CMAKE_POLICY(SET CMP0005 NEW) + CMAKE_POLICY(SET CMP0011 NEW) ENDIF(COMMAND cmake_policy AND ${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} GREATER 4) PROJECT(creaContours)