From 8684226bb29a06fce05909049699c2274fce05de Mon Sep 17 00:00:00 2001 From: jean-pierre roux Date: Tue, 3 Jun 2008 07:18:40 +0000 Subject: [PATCH 1/1] Prepare cmake 2.6 --- CMakeLists.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9ea78a1..82dcc67 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,8 +1,14 @@ +#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) + # endif(COMMAND cmake_policy) + #----------------------------------------------------------------------------- PROJECT(BBTK) #----------------------------------------------------------------------------- -#cmake_minimum_required(VERSION 2.4) #----------------------------------------------------------------------------- # Set global configuration of the toolkit -- 2.45.1