[Orxonox-commit 5589] r10252 - code/trunk/cmake/tools
muemart at orxonox.net
muemart at orxonox.net
Mon Feb 2 13:04:56 CET 2015
Author: muemart
Date: 2015-02-02 13:04:55 +0100 (Mon, 02 Feb 2015)
New Revision: 10252
Modified:
code/trunk/cmake/tools/TargetUtilities.cmake
Log:
Fix MSVC debugging environment for newer versions
Modified: code/trunk/cmake/tools/TargetUtilities.cmake
===================================================================
--- code/trunk/cmake/tools/TargetUtilities.cmake 2015-02-01 22:46:42 UTC (rev 10251)
+++ code/trunk/cmake/tools/TargetUtilities.cmake 2015-02-02 12:04:55 UTC (rev 10252)
@@ -95,7 +95,7 @@
ELSE()
SET(MSVC_PLATFORM "Win32")
ENDIF()
- IF(MSVC10)
+ IF(NOT (MSVC_VERSION LESS 1600)) #For all versions >= Visual Studio 2010
CONFIGURE_FILE("${CMAKE_SOURCE_DIR}/src/template.vcxproj.user.in" "${CMAKE_CURRENT_BINARY_DIR}/${_target_name}.vcxproj.user")
ELSE()
STRING(REGEX REPLACE "^Visual Studio ([0-9][0-9]?).*$" "\\1"
More information about the Orxonox-commit
mailing list