From bfe62288285f13e8ad8a184636aa5a345b2c41c4 Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Sun, 23 Aug 2009 20:24:14 +0000 Subject: [PATCH] * In All top level CMakeList : - Adds a CMAKE_POLICY CMP0003 has we've upgraded to cmake 2.6. --- hurricane/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hurricane/CMakeLists.txt b/hurricane/CMakeLists.txt index 0add60f4..cd5d48dd 100644 --- a/hurricane/CMakeLists.txt +++ b/hurricane/CMakeLists.txt @@ -1,6 +1,9 @@ PROJECT(HURRICANE) CMAKE_MINIMUM_REQUIRED(VERSION 2.4.0) +IF(COMMAND CMAKE_POLICY) + CMAKE_POLICY(SET CMP0003 NEW) +ENDIF(COMMAND CMAKE_POLICY) SET(CMAKE_MODULE_PATH "${HURRICANE_SOURCE_DIR}/cmake_modules/")