[Avida-SVN] r3106 - stable
brysonda at myxo.css.msu.edu
brysonda at myxo.css.msu.edu
Sun Jan 11 12:53:58 PST 2009
Author: brysonda
Date: 2009-01-11 15:53:58 -0500 (Sun, 11 Jan 2009)
New Revision: 3106
Modified:
stable/CMakeLists.txt
Log:
Add CMakeLists.txt fixes to the stable branch.
Modified: stable/CMakeLists.txt
===================================================================
--- stable/CMakeLists.txt 2009-01-11 20:51:30 UTC (rev 3105)
+++ stable/CMakeLists.txt 2009-01-11 20:53:58 UTC (rev 3106)
@@ -1,5 +1,11 @@
PROJECT(AVIDA)
+CMAKE_MINIMUM_REQUIRED(VERSION 2.4)
+
+IF(COMMAND cmake_policy)
+ CMAKE_POLICY(SET CMP0003 NEW)
+ENDIF(COMMAND cmake_policy)
+
# The following three variables must be after the PROJECT statement, otherwise
# newer versions of cmake will (correctly) use an empty value of
# PROJECT_BINARY_DIR, since the project didn't exist yet.
More information about the Avida-cvs
mailing list