mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08: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…
x
Reference in New Issue
Block a user