Back to non-static vcpkg

This commit is contained in:
Martin Tůma 2023-09-22 09:57:43 +02:00
parent 6a32f0a447
commit ff569644b6

View File

@ -7,7 +7,7 @@ image:
- Visual Studio 2022 - Visual Studio 2022
environment: environment:
VCPKGDIR: C:\tools\vcpkg\installed\x64-windows-static VCPKGDIR: C:\tools\vcpkg\installed\x64-windows
matrix: matrix:
- QTDIR: C:\Qt\5.15\msvc2019_64 - QTDIR: C:\Qt\5.15\msvc2019_64
- QTDIR: C:\Qt\6.5\msvc2019_64 - QTDIR: C:\Qt\6.5\msvc2019_64
@ -16,8 +16,8 @@ install:
- cmd: |- - cmd: |-
set PATH=%QTDIR%\bin;%VCPKGDIR%\tools\protobuf;%PATH% set PATH=%QTDIR%\bin;%VCPKGDIR%\tools\protobuf;%PATH%
call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat
vcpkg install protobuf:x64-windows-static vcpkg install protobuf:x64-windows
vcpkg install zlib:x64-windows-static vcpkg install zlib:x64-windows
copy /y %VCPKGDIR%\lib\zlib.lib %VCPKGDIR%\lib\zlibstatic.lib copy /y %VCPKGDIR%\lib\zlib.lib %VCPKGDIR%\lib\zlibstatic.lib
build_script: build_script: