From 4f225bba807e98383dfb1e4e7fb6ad4734e4bd7e Mon Sep 17 00:00:00 2001 From: jean-pierre roux Date: Tue, 3 Jun 2008 07:24:40 +0000 Subject: [PATCH] cmake_policy doesn't work with cmake2.4. Temporarily commented out --- CMakeLists.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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) #----------------------------------------------------------------------------- -- 2.47.1