[Orxonox-commit 2678] r7383 - code/trunk
rgrieder at orxonox.net
rgrieder at orxonox.net
Wed Sep 8 16:11:44 CEST 2010
Author: rgrieder
Date: 2010-09-08 16:11:44 +0200 (Wed, 08 Sep 2010)
New Revision: 7383
Modified:
code/trunk/CMakeLists.txt
Log:
Minimum CMake version on Windows is actually 2.6.3 because of some problem with FindBoost and MSVC generator.
Modified: code/trunk/CMakeLists.txt
===================================================================
--- code/trunk/CMakeLists.txt 2010-09-08 13:54:54 UTC (rev 7382)
+++ code/trunk/CMakeLists.txt 2010-09-08 14:11:44 UTC (rev 7383)
@@ -23,7 +23,11 @@
# Configures some basics and controls the configuration scripts
#
-CMAKE_MINIMUM_REQUIRED(VERSION 2.6 FATAL_ERROR)
+IF(WIN32)
+ CMAKE_MINIMUM_REQUIRED(VERSION 2.6.3 FATAL_ERROR)
+ELSE()
+ CMAKE_MINIMUM_REQUIRED(VERSION 2.6 FATAL_ERROR)
+ENDIF()
# Keep devs from using the root directory as binary directory (messes up the source tree)
IF(${CMAKE_CURRENT_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_BINARY_DIR})
More information about the Orxonox-commit
mailing list