[Avida-SVN] r3105 - development

brysonda at myxo.css.msu.edu brysonda at myxo.css.msu.edu
Sun Jan 11 12:51:31 PST 2009


Author: brysonda
Date: 2009-01-11 15:51:30 -0500 (Sun, 11 Jan 2009)
New Revision: 3105

Modified:
   development/CMakeLists.txt
Log:
CMakeLists.txt fix attempt 2, setting library search path policy.

Modified: development/CMakeLists.txt
===================================================================
--- development/CMakeLists.txt	2009-01-11 20:48:43 UTC (rev 3104)
+++ development/CMakeLists.txt	2009-01-11 20:51:30 UTC (rev 3105)
@@ -2,6 +2,11 @@
 
 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