Force vcpkg to rebuild cache on package features updates

This commit is contained in:
Filipe PINTO 2023-10-19 17:35:10 +02:00 committed by GitHub
parent 58b249ffa1
commit 9481da06d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -9,8 +9,8 @@ git -C ((Get-command vcpkg).Source | Split-Path) pull
# install libxml and libcurl[openssl]
$vcpkg_dir=(Get-command vcpkg).Source
vcpkg install curl:x64-windows || true
vcpkg install libxml2[core,iconv]:x64-windows || true
vcpkg install --recurse --x-use-aria2 curl:x64-windows || true
vcpkg install --recurse --x-use-aria2 libxml2[core,iconv]:x64-windows || true
vcpkg update
if ($LASTEXITCODE) { Throw }

View File

@ -57,8 +57,8 @@ $env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";"
Install build libs requirement
```pwsh
vcpkg install curl:x64-windows
vcpkg install libxml2[core,iconv]:x64-windows
vcpkg install --recurse --x-use-aria2 curl:x64-windows
vcpkg install --recurse --x-use-aria2 libxml2[core,iconv]:x64-windows
vcpkg integrate install
Set-ItemProperty -Path HKCU:\Environment -Name VCPKGRS_DYNAMIC -Value "1"
$env:VCPKGRS_DYNAMIC = [System.Environment]::GetEnvironmentVariable("VCPKGRS_DYNAMIC","User")