|
From: <ai...@us...> - 2009-01-22 22:17:56
|
Revision: 9374
http://plplot.svn.sourceforge.net/plplot/?rev=9374&view=rev
Author: airwin
Date: 2009-01-22 22:16:26 +0000 (Thu, 22 Jan 2009)
Log Message:
-----------
Minimum version of CMake is now 2.6.0.
Modified Paths:
--------------
trunk/CMakeLists.txt
Modified: trunk/CMakeLists.txt
===================================================================
--- trunk/CMakeLists.txt 2009-01-22 22:15:31 UTC (rev 9373)
+++ trunk/CMakeLists.txt 2009-01-22 22:16:26 UTC (rev 9374)
@@ -19,14 +19,9 @@
# along with PLplot; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-# Version 2.4.5 or above of cmake is required!
-CMAKE_MINIMUM_REQUIRED(VERSION 2.4.5 FATAL_ERROR)
-# set CMake 2.6.x policy if the cmake_policy command exists, (i.e., if
-# the user is using CMake 2.6.0 or newer).
-if(COMMAND cmake_policy)
- # empty elements are not ignored in lists.
- cmake_policy(SET CMP0007 NEW)
-endif(COMMAND cmake_policy)
+# Version 2.6.0 or above of cmake is required!
+CMAKE_MINIMUM_REQUIRED(VERSION 2.6.0 FATAL_ERROR)
+cmake_policy(SET CMP0007 NEW)
# Recommended way to do user overrides of C-related variables, is given at
# http://public.kitware.com/pipermail/cmake/2006-July/010334.html.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|