Skip to content

Commit 448e765

Browse files
authored
Merge pull request #104 from mistoll/FIX-vs2022-target
Fix vs2022 target and add VS tools support
2 parents 0dd2953 + 98c56ae commit 448e765

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,10 +236,10 @@ function Msvs
236236
$VS_VER = 16;
237237
$VS_OFFICIAL_VER = 2019;
238238

239-
if ($_ -eq 'v143')
239+
if ($Toolchain -eq 'v143')
240240
{
241241
$VS_VER=17;
242-
$VS_OFFICIAL_VER=2021;
242+
$VS_OFFICIAL_VER=2022;
243243
}
244244

245245
Write-Diagnostic "VSWhere path $global:VSwherePath"

0 commit comments

Comments
 (0)