Skip to content

Commit 9d9242b

Browse files
Add support for Visual Studio 2022 version 17.10 (#747)
Visual Studio 2022 versions have rolled over from 1930s to 1940s with the release of 17.10 https://learn.microsoft.com/en-us/cpp/overview/compiler-versions
1 parent f59ec4e commit 9d9242b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/modules/hunter_setup_msvc.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ macro(hunter_setup_msvc)
6666
string(COMPARE EQUAL "${MSVC_VERSION}" "1900" _vs_14_2015)
6767
string(REGEX MATCH "^191[0-9]$" _vs_15_2017 "${MSVC_VERSION}")
6868
string(REGEX MATCH "^192[0-9]$" _vs_16_2019 "${MSVC_VERSION}")
69-
string(REGEX MATCH "^193[0-9]$" _vs_17_2022 "${MSVC_VERSION}")
69+
string(REGEX MATCH "^19[34][0-9]$" _vs_17_2022 "${MSVC_VERSION}")
7070

7171
if(_vs_8_2005)
7272
set(HUNTER_MSVC_VERSION "8")

0 commit comments

Comments
 (0)