1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-25 01:18:38 -05:00

Follow Appveyor MSVC upgrade

This commit is contained in:
f4exb 2021-06-14 22:32:53 +02:00
parent 9abc23de6c
commit de838e8c30

View File

@ -193,7 +193,8 @@ elseif(APPLE)
"${CMAKE_BINARY_DIR}/Info.plist" @ONLY)
elseif (WIN32)
# check compiler version
if(MSVC_VERSION GREATER 1920 AND MSVC_VERSION LESS 1929)
message(STATUS "MSVC_VERSION is ${MSVC_VERSION}")
if(MSVC_VERSION GREATER 1920 AND MSVC_VERSION LESS 1930)
set(VS2019 ON)
elseif(MSVC_VERSION GREATER 1910 AND MSVC_VERSION LESS 1919)
set(VS2017 ON)