diff options
author | Antonioya <blendergit@gmail.com> | 2017-08-16 16:58:09 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2017-08-16 18:45:08 +0300 |
commit | a773ac4bda8f3826bebd35f46ddac1a191624341 (patch) | |
tree | aa36f16d7715d484996b773c0f696e884dedfd7d /build_files/cmake | |
parent | 1f3724f7f4f62a3c7829547d523fbc6686acf8b8 (diff) |
Support MSVSC 2017 15.3.0 (compiler 19.11)
The compiler version has changed in the last VS2017 update to 1911 and the old 1910 version is not working anymore.
Diffstat (limited to 'build_files/cmake')
-rw-r--r-- | build_files/cmake/platform/platform_win32_msvc.cmake | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/build_files/cmake/platform/platform_win32_msvc.cmake b/build_files/cmake/platform/platform_win32_msvc.cmake index 3b417f79cbe..1b596e3d932 100644 --- a/build_files/cmake/platform/platform_win32_msvc.cmake +++ b/build_files/cmake/platform/platform_win32_msvc.cmake @@ -134,7 +134,10 @@ if(NOT DEFINED LIBDIR) message(STATUS "32 bit compiler detected.") set(LIBDIR_BASE "windows") endif() - if(MSVC_VERSION EQUAL 1910) + if(MSVC_VERSION EQUAL 1911) + message(STATUS "Visual Studio 2017 detected.") + set(LIBDIR ${CMAKE_SOURCE_DIR}/../lib/${LIBDIR_BASE}_vc14) + elseif(MSVC_VERSION EQUAL 1910) message(STATUS "Visual Studio 2017 detected.") set(LIBDIR ${CMAKE_SOURCE_DIR}/../lib/${LIBDIR_BASE}_vc14) elseif(MSVC_VERSION EQUAL 1900) |