From 6636678d3b2f8bf950ef5de44095cdd3a87b18fd Mon Sep 17 00:00:00 2001 From: WrinklyNinja Date: Sat, 22 Feb 2014 23:37:39 +0000 Subject: [PATCH] Re-enabled WinXP support. It's required for the API DLL Bash uses. --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4dc3ce26..e7db5d55 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -101,9 +101,9 @@ IF (MINGW) wxzlib-3.0-${COMPILER_PREFIX} comctl32) ELSEIF (MSVC) - #IF (MSVC_VERSION EQUAL 1800) - # set (CMAKE_GENERATOR_TOOLSET "v120_xp" CACHE STRING "Platform Toolset" FORCE) - #ENDIF () + IF (MSVC_VERSION EQUAL 1800) + set (CMAKE_GENERATOR_TOOLSET "v120_xp" CACHE STRING "Platform Toolset" FORCE) + ENDIF () include_directories("${PROJECT_LIBS_DIR}/wxWidgets/lib/vc_lib/mswu") link_directories("${PROJECT_LIBS_DIR}/wxWidgets/lib/vc_lib") set (CMAKE_CXX_FLAGS "/EHsc")