ENH: update for CMake 2.6

This commit is contained in:
Sebastien Barre 2008-05-06 12:56:25 -04:00
parent 26448fe2e2
commit 1172a1205d
1 changed files with 6 additions and 1 deletions

View File

@ -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