File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -258,11 +258,11 @@ jobs:
258258 # Ensure zlib headers and library (zlib.lib / z.lib) are present in C:\unicorn
259259 if (-not (Test-Path "C:\unicorn\lib\zlib.lib") -or -not (Test-Path "C:\unicorn\include\zlib.h")) {
260260 Write-Host "Installing zlib static library via vcpkg..."
261- vcpkg install zlib:x64-windows-static
262- Copy-Item "C:\vcpkg\installed\ x64-windows-static\lib\zlib .lib" "C:\unicorn\lib\zlib.lib" -Force
263- Copy-Item "C:\vcpkg\installed\ x64-windows-static\lib\zlib .lib" "C:\unicorn\lib\z.lib" -Force
264- Copy-Item "C:\vcpkg\installed \x64-windows-static\include\zlib.h" "C:\unicorn\include\zlib.h" -Force
265- Copy-Item "C:\vcpkg\installed \x64-windows-static\include\zconf.h" "C:\unicorn\include\zconf.h" -Force
261+ vcpkg install zlib:x64-windows-static --x-install-root=C:\vcpkg_installed
262+ Copy-Item "C:\vcpkg_installed\ x64-windows-static\lib\* .lib" "C:\unicorn\lib\zlib.lib" -Force
263+ Copy-Item "C:\vcpkg_installed\ x64-windows-static\lib\* .lib" "C:\unicorn\lib\z.lib" -Force
264+ Copy-Item "C:\vcpkg_installed \x64-windows-static\include\zlib.h" "C:\unicorn\include\zlib.h" -Force
265+ Copy-Item "C:\vcpkg_installed \x64-windows-static\include\zconf.h" "C:\unicorn\include\zconf.h" -Force
266266 }
267267
268268 if (Test-Path "C:\unicorn\include\zconf.h") {
You can’t perform that action at this time.
0 commit comments