Use the static vcpkg builds

This commit is contained in:
Martin Tůma 2023-09-22 02:02:45 +02:00
parent 11e360d9a4
commit 1051a1c5b2

View File

@ -7,7 +7,7 @@ image:
- Visual Studio 2022 - Visual Studio 2022
environment: environment:
VCPKGDIR: C:\tools\vcpkg\installed\x64-windows VCPKGDIR: C:\tools\vcpkg\installed\x64-windows-static
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 vcpkg install protobuf:x64-windows-static
vcpkg install zlib:x64-windows vcpkg install zlib:x64-windows-static
build_script: build_script:
- cmd: |- - cmd: |-