diff --git a/build.ps1 b/build.ps1 index ec83168f..f1b7a329 100755 --- a/build.ps1 +++ b/build.ps1 @@ -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 }