DRTVWR-476: For VS 2017, MSVC_VERSION can be any of a range.

Thanks NickyD.
meow-7.2.2
Nat Goodspeed 2019-10-31 09:22:07 -04:00
parent e219468b8e
commit 8eae1fa7c9
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ if(WINDOWS)
elseif (MSVC_VERSION EQUAL 1800) # VisualStudio 2013, which is (sigh) VS 12
list(APPEND LMSVC_VER 120)
list(APPEND LMSVC_VERDOT 12.0)
elseif (MSVC_VERSION EQUAL 1915 OR MSVC_VERSION EQUAL 1916) # Visual Studio 2017
elseif (MSVC_VERSION GREATER_EQUAL 1910 AND MSVC_VERSION LESS 1920) # Visual Studio 2017
list(APPEND LMSVC_VER 150)
list(APPEND LMSVC_VERDOT 15.0)
else (MSVC80)