mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 01:55:48 -05:00
Fixed MSVC version detection
This commit is contained in:
parent
1034e3aa99
commit
4f822b4daf
@ -307,7 +307,7 @@ elseif(APPLE)
|
||||
elseif (WIN32)
|
||||
# check compiler version
|
||||
message(STATUS "MSVC_VERSION is ${MSVC_VERSION}")
|
||||
if(MSVC_VERSION GREATER_EQUAL 1930 AND MSVC_VERSION LESS 1940)
|
||||
if(MSVC_VERSION GREATER_EQUAL 1930)
|
||||
set(VS2022 ON)
|
||||
elseif(MSVC_VERSION GREATER_EQUAL 1920 AND MSVC_VERSION LESS 1930)
|
||||
set(VS2019 ON)
|
||||
|
Loading…
Reference in New Issue
Block a user