mirror of
https://github.com/cemu-project/vcpkg.git
synced 2024-11-28 05:30:22 +00:00
Adapt bootstrap to VS 2019 Preview (#4922)
This commit is contained in:
parent
3fb47a376f
commit
13d1231ad4
@ -160,6 +160,16 @@ function findAnyMSBuildWithCppPlatformToolset([string]$withVSPath)
|
||||
}
|
||||
|
||||
$majorVersion = $version.Substring(0,2);
|
||||
if ($majorVersion -eq "16")
|
||||
{
|
||||
$VCFolder= "$path\VC\Tools\MSVC\"
|
||||
if (Test-Path $VCFolder)
|
||||
{
|
||||
Write-Verbose "Picking: $instanceCandidate"
|
||||
return "$path\MSBuild\Current\Bin\MSBuild.exe", "v141"
|
||||
}
|
||||
}
|
||||
|
||||
if ($majorVersion -eq "15")
|
||||
{
|
||||
$VCFolder= "$path\VC\Tools\MSVC\"
|
||||
|
Loading…
Reference in New Issue
Block a user