[Orxonox-commit 3643] r8328 - code/branches/kicklib2

rgrieder at orxonox.net rgrieder at orxonox.net
Mon Apr 25 20:50:00 CEST 2011


Author: rgrieder
Date: 2011-04-25 20:49:59 +0200 (Mon, 25 Apr 2011)
New Revision: 8328

Modified:
   code/branches/kicklib2/CMakeLists.txt
Log:
Orxonox only works with newer CMake builds if using Visual Studio 2010.

Modified: code/branches/kicklib2/CMakeLists.txt
===================================================================
--- code/branches/kicklib2/CMakeLists.txt	2011-04-25 18:22:36 UTC (rev 8327)
+++ code/branches/kicklib2/CMakeLists.txt	2011-04-25 18:49:59 UTC (rev 8328)
@@ -24,9 +24,13 @@
  #
 
 IF(WIN32)
-  CMAKE_MINIMUM_REQUIRED(VERSION 2.6.3 FATAL_ERROR)
+  IF(MSVC10)
+    CMAKE_MINIMUM_REQUIRED(VERSION 2.8.3 FATAL_ERROR)
+  ELSE()
+    CMAKE_MINIMUM_REQUIRED(VERSION 2.6.3 FATAL_ERROR)
+  ENDIF()
 ELSE()
-  CMAKE_MINIMUM_REQUIRED(VERSION 2.6   FATAL_ERROR)
+  CMAKE_MINIMUM_REQUIRED(VERSION 2.6 FATAL_ERROR)
 ENDIF()
 
 # Keep devs from using the root directory as binary directory (messes up the source tree)




More information about the Orxonox-commit mailing list