[Windows] Add VCPKG_ROOT variable (#6192)

This commit is contained in:
Erik Bershel
2022-09-08 17:29:02 +02:00
committed by GitHub
parent 27d6979ea5
commit a4b9a51304
3 changed files with 13 additions and 4 deletions

View File

@@ -17,5 +17,6 @@ Invoke-Expression "$InstallDir\$VcpkgExecPath integrate install"
Add-MachinePathItem $InstallDir
$env:Path = Get-MachinePath
setx VCPKG_INSTALLATION_ROOT $InstallDir /M
setx VCPKG_ROOT $InstallDir /M
Invoke-PesterTests -TestFile "Tools" -TestName "Vcpkg"