mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 21:13:04 +08:00
Merge pull request #1934 from nerdile/dev/nerdile/fix-bootstrap-win10sdk-detection
Fix Win10SDK detection during Bootstrap
This commit is contained in:
commit
5e3d3fb8b4
@ -20,7 +20,7 @@ $validInstances = New-Object System.Collections.ArrayList
|
||||
# Windows 10 SDK
|
||||
function CheckWindows10SDK($path)
|
||||
{
|
||||
$folder = "$path\Include"
|
||||
$folder = (Join-Path $path "Include")
|
||||
if (!(Test-Path $folder))
|
||||
{
|
||||
Write-Verbose "$folder - Not Found"
|
||||
@ -37,7 +37,7 @@ function CheckWindows10SDK($path)
|
||||
if (!(Test-Path $windowsheader))
|
||||
{
|
||||
Write-Verbose "$windowsheader - Not Found"
|
||||
return
|
||||
continue
|
||||
}
|
||||
Write-Verbose "$windowsheader - Found"
|
||||
|
||||
@ -45,7 +45,7 @@ function CheckWindows10SDK($path)
|
||||
if (!(Test-Path $ddkheader))
|
||||
{
|
||||
Write-Verbose "$ddkheader - Not Found"
|
||||
return
|
||||
continue
|
||||
}
|
||||
|
||||
Write-Verbose "$ddkheader - Found"
|
||||
|
Loading…
Reference in New Issue
Block a user