diff options
author | Giacomo Pozzoni <giacomopoz@gmail.com> | 2020-04-03 19:14:09 +0000 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2020-04-04 18:35:58 +0200 |
commit | 77154e0c030a1224a514d18e368b0ebbe7079d9d (patch) | |
tree | 57f08ef37c8d02f58ff6835357a97c59abdf2dc7 /cmake/compiler/msvc | |
parent | 6e324632bcfbc498fa27f8a00db54f9c485d9774 (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
(cherry picked from commit 1df52da0b052654a9b42339fdd22028bfdbf9fc0)
Diffstat (limited to 'cmake/compiler/msvc')
-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 96197688d58..72f6176007d 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.10) -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}") |