From: <ai...@us...> - 2012-12-23 20:09:13
|
Revision: 12283 http://plplot.svn.sourceforge.net/plplot/?rev=12283&view=rev Author: airwin Date: 2012-12-23 20:09:07 +0000 (Sun, 23 Dec 2012) Log Message: ----------- Use more modern idiom to determine CMake version for output. Modified Paths: -------------- trunk/CMakeLists.txt trunk/examples/CMakeLists.txt Modified: trunk/CMakeLists.txt =================================================================== --- trunk/CMakeLists.txt 2012-12-19 17:11:01 UTC (rev 12282) +++ trunk/CMakeLists.txt 2012-12-23 20:09:07 UTC (rev 12283) @@ -2,7 +2,7 @@ ### ### Process this file with cmake to produce Makefile ### -# Copyright (C) 2006 Alan W. Irwin +# Copyright (C) 2006-2012 Alan W. Irwin # # This file is part of PLplot. # @@ -37,7 +37,7 @@ # examples are disabled. project(plplot C) -message(STATUS "CMake version = ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}") +message(STATUS "CMake version = ${CMAKE_VERSION}") message(STATUS "CMAKE_SYSTEM_NAME = ${CMAKE_SYSTEM_NAME}") if(CMAKE_SYSTEM_NAME STREQUAL "Linux") Modified: trunk/examples/CMakeLists.txt =================================================================== --- trunk/examples/CMakeLists.txt 2012-12-19 17:11:01 UTC (rev 12282) +++ trunk/examples/CMakeLists.txt 2012-12-23 20:09:07 UTC (rev 12283) @@ -1,7 +1,7 @@ # examples/CMakeLists.txt ### Process this file with cmake to produce Makefile ### -# Copyright (C) 2006, 2007, 2008, 2009 Alan W. Irwin +# Copyright (C) 2006-2012 Alan W. Irwin # # This file is part of PLplot. # @@ -357,6 +357,8 @@ else(CORE_BUILD) project(installed_plplot_examples NONE) + message(STATUS "CMake version = ${CMAKE_VERSION}") + message(STATUS "CMAKE_SYSTEM_NAME = ${CMAKE_SYSTEM_NAME}") if(CMAKE_SYSTEM_NAME STREQUAL "Linux") # We prefer to support only the latest CMake version because it This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |