From: <ai...@us...> - 2010-08-12 15:01:13
|
Revision: 11126 http://plplot.svn.sourceforge.net/plplot/?rev=11126&view=rev Author: airwin Date: 2010-08-12 15:01:04 +0000 (Thu, 12 Aug 2010) Log Message: ----------- Bump minimum version of CMake to 2.6.4 for all platforms. (Previous minimum version was 2.6.3 for Windows and 2.6.0 for all other platforms.) There are two reasons for this change. (1) I need "if(TARGET...." capability for all platforms which was first introduced for 2.6.2. (2) 2.6.4 has been readily available for a long time and is very likely the minimum version of CMake we test any more. Modified Paths: -------------- trunk/CMakeLists.txt Modified: trunk/CMakeLists.txt =================================================================== --- trunk/CMakeLists.txt 2010-08-05 22:19:18 UTC (rev 11125) +++ trunk/CMakeLists.txt 2010-08-12 15:01:04 UTC (rev 11126) @@ -37,17 +37,14 @@ # examples are disabled. project(plplot C) -# For use under MSYS version 2.6.3 or above of cmake is required! -# The variable MSYS is first known at this point in the build process message(STATUS "CMake version = ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}") -if(MSYS) - # Version 2.6.3 or above of cmake is required for MSYS - CMAKE_MINIMUM_REQUIRED(VERSION 2.6.3 FATAL_ERROR) -else(MSYS) - # Version 2.6.0 or above of cmake is required for all other platforms - CMAKE_MINIMUM_REQUIRED(VERSION 2.6.0 FATAL_ERROR) -endif(MSYS) +# Note that the variable MSYS is first known at this point in the +# build process in case have different minimum version for that case. + +# Version 2.6.4 or above of cmake is currently required for all platforms. +CMAKE_MINIMUM_REQUIRED(VERSION 2.6.4 FATAL_ERROR) + #foreach(policy RANGE 0 9) # cmake_policy(GET CMP000${policy} policy_result) # message(STATUS "Policy CMP000${policy} is ${policy_result}") This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |