From 650ab693a8366847d7db8bd8443b3b4aaf99ff85 Mon Sep 17 00:00:00 2001 From: Shauren Date: Thu, 18 Aug 2016 17:45:49 +0200 Subject: [PATCH] Buildsystem: Enforce Visual Studio 2015 Update 3 in CMake --- cmake/compiler/msvc/settings.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/compiler/msvc/settings.cmake b/cmake/compiler/msvc/settings.cmake index bd5ea65da47..fb5232a66f6 100644 --- a/cmake/compiler/msvc/settings.cmake +++ b/cmake/compiler/msvc/settings.cmake @@ -1,10 +1,10 @@ # set up output paths for executable binaries (.exe-files, and .dll-files on DLL-capable platforms) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) -set(MSVC_EXPECTED_VERSION 18.0.30723) # MSVC Update 3 +set(MSVC_EXPECTED_VERSION 19.0.24210) # MSVC 2015 Update 3 if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS MSVC_EXPECTED_VERSION) - message(FATAL_ERROR "MSVC: TrinityCore requires version ${MSVC_EXPECTED_VERSION} (MSVC 2013 Update 3) to build but found ${CMAKE_CXX_COMPILER_VERSION}") + message(FATAL_ERROR "MSVC: TrinityCore requires version ${MSVC_EXPECTED_VERSION} (MSVC 2015 Update 3) to build but found ${CMAKE_CXX_COMPILER_VERSION}") endif() # set up output paths ofr static libraries etc (commented out - shown here as an example only)