From e07101929f6f8bda252c6512dbf579743ec36121 Mon Sep 17 00:00:00 2001 From: Billy O'Neal Date: Tue, 6 Feb 2024 14:27:08 -0800 Subject: [PATCH] Allow VS 2022 17.10 to be detected as V_143 (#1340) --- src/vcpkg/visualstudio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vcpkg/visualstudio.cpp b/src/vcpkg/visualstudio.cpp index 1f9934177a..8df820b598 100644 --- a/src/vcpkg/visualstudio.cpp +++ b/src/vcpkg/visualstudio.cpp @@ -268,7 +268,7 @@ namespace vcpkg::VisualStudio { toolset_version = V_142; } - else if (toolset_version_prefix[3] == '3') + else if (toolset_version_prefix[3] == '3' || toolset_version_prefix[3] == '4') { toolset_version = V_143; }