Skip to content
Snippets Groups Projects
Commit e667a9a4 authored by Brad King's avatar Brad King
Browse files

ENH: Set CMake Policy CMP0003 to NEW behavior to build without warnings with...

ENH: Set CMake Policy CMP0003 to NEW behavior to build without warnings with the upcoming CMake 2.6 release.
parent f12fa0b0
Branches
No related tags found
No related merge requests found
......@@ -111,6 +111,12 @@ IF(NOT KWSYS_NAMESPACE)
SET(KWSYS_NAMESPACE "kwsys")
SET(KWSYS_STANDALONE 1)
ENDIF(NOT KWSYS_NAMESPACE)
IF(KWSYS_STANDALONE)
CMAKE_MINIMUM_REQUIRED(VERSION 2.4)
IF(COMMAND CMAKE_POLICY)
CMAKE_POLICY(SET CMP0003 NEW)
ENDIF(COMMAND CMAKE_POLICY)
ENDIF(KWSYS_STANDALONE)
#-----------------------------------------------------------------------------
# The project name is that of the specified namespace.
......
......@@ -7,4 +7,4 @@ SET(KWSYS_DATE_STAMP_YEAR 2008)
SET(KWSYS_DATE_STAMP_MONTH 03)
# KWSys version date day component. Format is DD.
SET(KWSYS_DATE_STAMP_DAY 11)
SET(KWSYS_DATE_STAMP_DAY 17)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment