diff options
author | Giacomo Pozzoni <giacomopoz@gmail.com> | 2020-04-03 19:14:09 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-03 21:14:09 +0200 |
commit | 1df52da0b052654a9b42339fdd22028bfdbf9fc0 (patch) | |
tree | 5462b17cda315c25bdad6ea8ca6914c22ae65d09 /cmake/compiler | |
parent | 69f4024929c546af4cce121b8d6d9adb9f6acefb (diff) |
Require Visual Studio 2019 16.4 or greater (#24214)
* CI/AppVeyor: Add appveyor.yml file
* Build: Require Visual Studio 2019 16.4 or greater
* CI/AppVeyor: Upgrade to VS2019 image
* Update cmake error message
* CI/AppVeyor: Fix appveyor VS 2019 configuration
Diffstat (limited to 'cmake/compiler')
-rw-r--r-- | cmake/compiler/msvc/settings.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/compiler/msvc/settings.cmake b/cmake/compiler/msvc/settings.cmake index ed98273e22a..5ab1ca4cef0 100644 --- a/cmake/compiler/msvc/settings.cmake +++ b/cmake/compiler/msvc/settings.cmake @@ -1,8 +1,8 @@ # 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 19.16) -set(MSVC_EXPECTED_VERSION_STRING "MSVC 2017") +set(MSVC_EXPECTED_VERSION 19.24) +set(MSVC_EXPECTED_VERSION_STRING "Microsoft Visual Studio 2019 16.4") if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS MSVC_EXPECTED_VERSION) message(FATAL_ERROR "MSVC: TrinityCore requires version ${MSVC_EXPECTED_VERSION} (${MSVC_EXPECTED_VERSION_STRING}) to build but found ${CMAKE_CXX_COMPILER_VERSION}") |