mirror of
https://github.com/cemu-project/vcpkg.git
synced 2024-12-12 13:26:20 +00:00
[vcpkg] Fix getWindowsSDK to correctly handle the new optional c++ desktop deployment of the Windows SDK.
This commit is contained in:
parent
2fa9be1977
commit
bfb76e52a4
@ -44,8 +44,16 @@ foreach ($ProgramFiles in $CandidateProgramFiles)
|
||||
Write-Verbose "$windowsheader - Not Found"
|
||||
continue
|
||||
}
|
||||
|
||||
Write-Verbose "$windowsheader - Found"
|
||||
|
||||
$ddkheader = "$folder\$win10sdkV\shared\sdkddkver.h"
|
||||
if (!(Test-Path $ddkheader))
|
||||
{
|
||||
Write-Verbose "$ddkheader - Not Found"
|
||||
continue
|
||||
}
|
||||
|
||||
Write-Verbose "$ddkheader - Found"
|
||||
$win10sdkVersionString = $win10sdkV.ToString()
|
||||
Write-Verbose "Found $win10sdkVersionString"
|
||||
$validInstances.Add($win10sdkVersionString) > $null
|
||||
|
Loading…
Reference in New Issue
Block a user