aboutsummaryrefslogtreecommitdiff
path: root/scripts/bootstrap.ps1
diff options
context:
space:
mode:
authorzi-m <zi.m.github.com@gmail.com>2019-09-07 23:08:23 +0200
committerzi-m <zi.m.github.com@gmail.com>2019-09-07 23:08:23 +0200
commit108faffff4c995bc36c08695f72c14ae0f21163c (patch)
tree88a01a6076f142e4ad1b6002f4c7dc3730aa50ca /scripts/bootstrap.ps1
parent7fd21c5d827c2d77b21270646c2fe53704245747 (diff)
parent4cffadc18891aa6cc5a512cf500ad468c54cd3d0 (diff)
downloadvcpkg-108faffff4c995bc36c08695f72c14ae0f21163c.tar.gz
vcpkg-108faffff4c995bc36c08695f72c14ae0f21163c.zip
Merge remote-tracking branch 'upstream/master' into wxchartdir
Diffstat (limited to 'scripts/bootstrap.ps1')
-rw-r--r--scripts/bootstrap.ps13
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/bootstrap.ps1 b/scripts/bootstrap.ps1
index 6234efaa3..d2632e57b 100644
--- a/scripts/bootstrap.ps1
+++ b/scripts/bootstrap.ps1
@@ -226,8 +226,9 @@ function getWindowsSDK( [Parameter(Mandatory=$False)][switch]$DisableWin10SDK =
$win10sdkVersions = @(Get-ChildItem $folder | Where-Object {$_.Name -match "^10"} | Sort-Object)
[array]::Reverse($win10sdkVersions) # Newest SDK first
- foreach ($win10sdkV in $win10sdkVersions)
+ foreach ($win10sdk in $win10sdkVersions)
{
+ $win10sdkV = $win10sdk.Name
$windowsheader = "$folder\$win10sdkV\um\windows.h"
if (!(Test-Path $windowsheader))
{