File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ namespace vcpkg::VisualStudio
2424 static constexpr StringLiteral V_141 = " v141" ;
2525 static constexpr StringLiteral V_142 = " v142" ;
2626 static constexpr StringLiteral V_143 = " v143" ;
27+ static constexpr StringLiteral V_145 = " v145" ;
2728
2829 struct VisualStudioInstance
2930 {
@@ -168,6 +169,7 @@ namespace vcpkg::VisualStudio
168169
169170 // VS 2017 changed the installer such that cl.exe cannot be found by path navigation and
170171 // the env variable is only set when vcvars has been run. Therefore we close the safety valves.
172+ maybe_append_comntools (" vs180comntools" , " 18.0" , false );
171173 maybe_append_comntools (" vs170comntools" , " 17.0" , false );
172174 maybe_append_comntools (" vs160comntools" , " 16.0" , false );
173175 maybe_append_legacy_vs (" vs140comntools" , " Microsoft Visual Studio 14.0" , " 14.0" );
@@ -274,6 +276,10 @@ namespace vcpkg::VisualStudio
274276 {
275277 toolset_version = V_143;
276278 }
279+ else if (toolset_version_prefix[3 ] == ' 5' )
280+ {
281+ toolset_version = V_145;
282+ }
277283 else
278284 {
279285 // unknown toolset minor version
You can’t perform that action at this time.
0 commit comments