diff options
author | Sebastien Barre <sebastien.barre@kitware.com> | 2008-05-06 16:56:25 (GMT) |
---|---|---|
committer | Sebastien Barre <sebastien.barre@kitware.com> | 2008-05-06 16:56:25 (GMT) |
commit | 1172a1205df1ff6c377235980ce0212bf20dcc88 (patch) | |
tree | 4a1283e2a2d131a76adbc06c0513974ae45eebd9 /Utilities/cmtar | |
parent | 26448fe2e2be91a89a27c42da922bccc515945e5 (diff) | |
download | CMake-1172a1205df1ff6c377235980ce0212bf20dcc88.zip CMake-1172a1205df1ff6c377235980ce0212bf20dcc88.tar.gz CMake-1172a1205df1ff6c377235980ce0212bf20dcc88.tar.bz2 |
ENH: update for CMake 2.6
Diffstat (limited to 'Utilities/cmtar')
-rw-r--r-- | Utilities/cmtar/CMakeLists.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Utilities/cmtar/CMakeLists.txt b/Utilities/cmtar/CMakeLists.txt index 328a900..b8e5118 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 |