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.
This commit is contained in:
Antonio Vazquez 2017-08-16 15:58:09 +02:00 committed by Ray Molenkamp
parent 1f3724f7f4
commit a773ac4bda
1 changed files with 4 additions and 1 deletions

View File

@ -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)