Merge pull request #3660 from ab9rf/msvc-1937

allow msvc 17.7.0 (1937) for builds
develop
Myk 2023-08-10 22:27:08 -07:00 committed by GitHub
commit 75265567d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

@ -62,9 +62,9 @@ endif()
if(WIN32)
if(NOT MSVC)
message(SEND_ERROR "No MSVC found! MSVC 2022 version 1930 to 1936 is required.")
elseif((MSVC_VERSION LESS 1930) OR (MSVC_VERSION GREATER 1936))
message(SEND_ERROR "MSVC 2022 version 1930 to 1936 is required, Version Found: ${MSVC_VERSION}")
message(SEND_ERROR "No MSVC found! MSVC 2022 version 1930 to 1937 is required.")
elseif((MSVC_VERSION LESS 1930) OR (MSVC_VERSION GREATER 1937))
message(SEND_ERROR "MSVC 2022 version 1930 to 1937 is required, Version Found: ${MSVC_VERSION}")
endif()
endif()