* In All top level CMakeList :

- Adds a CMAKE_POLICY CMP0003 has we've upgraded to cmake 2.6.
This commit is contained in:
Jean-Paul Chaput 2009-08-23 20:24:14 +00:00
parent dbe871fe7e
commit bfe6228828
1 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,9 @@
PROJECT(HURRICANE) PROJECT(HURRICANE)
CMAKE_MINIMUM_REQUIRED(VERSION 2.4.0) 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/") SET(CMAKE_MODULE_PATH "${HURRICANE_SOURCE_DIR}/cmake_modules/")