From: jean-pierre roux Date: Tue, 3 Jun 2008 07:24:40 +0000 (+0000) Subject: cmake_policy doesn't work with cmake2.4. X-Git-Tag: r0.6.1~30 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=4f225bba807e98383dfb1e4e7fb6ad4734e4bd7e;p=bbtk.git cmake_policy doesn't work with cmake2.4. Temporarily commented out --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 82dcc67..269e8e9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,8 +1,10 @@ #cmake_minimum_required(VERSION 2.4) #if(COMMAND cmake_policy) - cmake_policy(SET CMP0000 OLD) - cmake_policy(SET CMP0005 NEW) - cmake_policy(SET CMP0003 NEW) + # 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) #-----------------------------------------------------------------------------