[brlcad-commits] SF.net SVN: brlcad:[43633] brlcad/branches/cmake/CMakeLists.txt
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <sta...@us...> - 2011-03-02 16:46:52
|
Revision: 43633 http://brlcad.svn.sourceforge.net/brlcad/?rev=43633&view=rev Author: starseeker Date: 2011-03-02 16:46:46 +0000 (Wed, 02 Mar 2011) Log Message: ----------- Lovely - check cmake version before we set CMP0017 Modified Paths: -------------- brlcad/branches/cmake/CMakeLists.txt Modified: brlcad/branches/cmake/CMakeLists.txt =================================================================== --- brlcad/branches/cmake/CMakeLists.txt 2011-03-02 16:42:51 UTC (rev 43632) +++ brlcad/branches/cmake/CMakeLists.txt 2011-03-02 16:46:46 UTC (rev 43633) @@ -79,7 +79,9 @@ IF(COMMAND CMAKE_POLICY) CMAKE_POLICY(SET CMP0003 NEW) CMAKE_POLICY(SET CMP0007 OLD) - CMAKE_POLICY(SET CMP0017 OLD) + IF (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION} GREATER 2.8.3) + CMAKE_POLICY(SET CMP0017 OLD) + ENDIF (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION} GREATER 2.8.3) ENDIF(COMMAND CMAKE_POLICY) # set CMake project name This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |