Skip to content

Commit

Permalink
Merge pull request #104 from mistoll/FIX-vs2022-target
Browse files Browse the repository at this point in the history
Fix vs2022 target and add VS tools support
  • Loading branch information
amaitland authored Dec 15, 2022
2 parents 0dd2953 + 98c56ae commit 448e765
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -236,10 +236,10 @@ function Msvs
$VS_VER = 16;
$VS_OFFICIAL_VER = 2019;

if ($_ -eq 'v143')
if ($Toolchain -eq 'v143')
{
$VS_VER=17;
$VS_OFFICIAL_VER=2021;
$VS_OFFICIAL_VER=2022;
}

Write-Diagnostic "VSWhere path $global:VSwherePath"
Expand Down

0 comments on commit 448e765

Please sign in to comment.