mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-22 08:04:49 -05:00
Allow VS2022 in MSVC build
This commit is contained in:
parent
26b8619bb1
commit
9d7d80158f
@ -201,10 +201,12 @@ elseif (WIN32)
|
|||||||
set(VS2017 ON)
|
set(VS2017 ON)
|
||||||
elseif(MSVC_VERSION GREATER 1899 AND MSVC_VERSION LESS 1910)
|
elseif(MSVC_VERSION GREATER 1899 AND MSVC_VERSION LESS 1910)
|
||||||
set(VS2015 ON)
|
set(VS2015 ON)
|
||||||
|
elseif(MSVC_VERSION GREATER 1930)
|
||||||
|
set(VS2022 ON)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT VS2015 AND NOT VS2017 AND NOT VS2019)
|
if(NOT VS2015 AND NOT VS2017 AND NOT VS2019 AND NOT VS2022)
|
||||||
message(FATAL_ERROR "You must use Microsoft Visual Studio 2015, 2017 or 2019 as compiler")
|
message(FATAL_ERROR "You must use Microsoft Visual Studio 2015, 2017, 2019 or greater as compiler")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# in alternative we can use ExternalProject
|
# in alternative we can use ExternalProject
|
||||||
|
Loading…
Reference in New Issue
Block a user