[Avida-cvs] [avida-svn] r644 - trunk

kaben@myxo.css.msu.edu kaben at myxo.css.msu.edu
Thu May 4 09:59:13 PDT 2006


Author: kaben
Date: 2006-05-04 12:59:13 -0400 (Thu, 04 May 2006)
New Revision: 644

Modified:
   trunk/CMakeLists.txt
Log:

Trying to fix compatibility issues with recent versions of CMake...
PROJECT(AVIDA) command must be called before use of
${PROJECT_BINARY_DIR}.



Modified: trunk/CMakeLists.txt
===================================================================
--- trunk/CMakeLists.txt	2006-05-04 00:16:15 UTC (rev 643)
+++ trunk/CMakeLists.txt	2006-05-04 16:59:13 UTC (rev 644)
@@ -60,6 +60,15 @@
   "Choose the type of build, options are: None(CMAKE_CXX_FLAGS or CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel."
 )
 
+# This section introduces the Avida project to CMake.  In this file, it
+# must be between the configuration options above (otherwise it
+# overrides their defaults) and the configuration options, cmake module
+# includes, and convenience variables below (otherwise some variables
+# can't be properly defined because PROJECT_SOURCE_DIR and
+# PROJECT_BUILD_DIR aren't yet defined).
+
+PROJECT(AVIDA)
+
 # Default location for installed software / configs / docs is work
 # subdirectory of build directory.
 SET(CMAKE_INSTALL_PREFIX
@@ -83,15 +92,6 @@
   "Built libraries are placed here before installation."
 )
 
-
-# This section introduces the Avida project to CMake.  In this file, it
-# must be between the configuration options above (otherwise it
-# overrides their defaults) and the configuration options, cmake module
-# includes, and convenience variables below (otherwise some variables
-# can't be properly defined because PROJECT_SOURCE_DIR and
-# PROJECT_BUILD_DIR aren't yet defined).
-
-PROJECT(AVIDA)
 SUBDIRS(source)
 
 # Experimental Boost.Python interface to avida is disabled by default.




More information about the Avida-cvs mailing list