diff --git a/CMakeLists.txt b/CMakeLists.txt index bc3ce450fbf2f0d3c741b522c9a26726ab89c202..62194c3b43e9ba1b98369e29dacc2f66a8fee4a1 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)