From 1172a1205df1ff6c377235980ce0212bf20dcc88 Mon Sep 17 00:00:00 2001 From: Sebastien Barre Date: Tue, 6 May 2008 12:56:25 -0400 Subject: [PATCH] ENH: update for CMake 2.6 --- Utilities/cmtar/CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Utilities/cmtar/CMakeLists.txt b/Utilities/cmtar/CMakeLists.txt index 328a9009e..b8e511833 100644 --- a/Utilities/cmtar/CMakeLists.txt +++ b/Utilities/cmtar/CMakeLists.txt @@ -1,5 +1,10 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 2.0) +CMAKE_MINIMUM_REQUIRED(VERSION 2.4) +IF(COMMAND CMAKE_POLICY) + CMAKE_POLICY(SET CMP0003 NEW) +ENDIF(COMMAND CMAKE_POLICY) + PROJECT(LIBTAR C) + INCLUDE_REGULAR_EXPRESSION("^.*$") # We need ansi c-flags, especially on HP