Do not use vcpkg if not found (#5632)

Fixes #5571

I think I forgot one line :)
This commit is contained in:
Stefano Sinigardi 2020-05-16 21:01:42 +02:00 committed by GitHub
parent 0d764e4ffb
commit f93a73d140
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -83,6 +83,7 @@ elseif ((Test-Path "${env:WORKSPACE}\vcpkg") -and $use_vcpkg) {
Write-Host "Found vcpkg in WORKSPACE\vcpkg: $vcpkg_path"
}
else {
$use_vcpkg=$false
Write-Host "Skipping vcpkg-enabled builds because the VCPKG_ROOT environment variable is not defined or you requested to avoid VCPKG, using self-distributed libs`n" -ForegroundColor Yellow
}