Link abseil on Windows if required by protobuf

This commit is contained in:
Martin Tůma 2025-01-05 08:33:04 +01:00
parent b2ff37b3a2
commit e21629f021
2 changed files with 4 additions and 1 deletions

View File

@ -22,7 +22,7 @@ install:
build_script:
- cmd: |-
qmake PROTOBUF=%VCPKGDIR% ZLIB=%VCPKGDIR% pbfplugin.pro
qmake PROTOBUF=%VCPKGDIR% ZLIB=%VCPKGDIR% ABSEIL=%VCPKGDIR% pbfplugin.pro
nmake release
artifacts:

View File

@ -51,6 +51,9 @@ win32 {
$$ZLIB/include
LIBS += $$PROTOBUF/lib/libprotobuf-lite.lib \
$$ZLIB/lib/zlibstatic.lib
!isEmpty(ABSEIL) {
LIBS += $$ABSEIL/lib/absl.lib
}
QMAKE_TARGET_PRODUCT = QtPBFImagePlugin
QMAKE_TARGET_DESCRIPTION = Qt $$QT_VERSION MVT/PBF image plugin