From d16be6d93c228cea3fa961f56aeaadf76c349e84 Mon Sep 17 00:00:00 2001 From: Emmanuel Christophe Date: Wed, 20 Aug 2008 16:15:39 +0000 Subject: [PATCH] COMP: Ajout des options en tete des CMakeLists.txt pour le warning CMP0003 --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index bc3ce450fb..62194c3b43 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,10 @@ # This is the root OTB CMakeLists file. # $Id$ # +CMAKE_MINIMUM_REQUIRED(VERSION 2.4) +IF(COMMAND CMAKE_POLICY) + CMAKE_POLICY(SET CMP0003 NEW) +ENDIF(COMMAND CMAKE_POLICY) PROJECT(OTB) -- GitLab