mirror of
https://github.com/tumic0/QtPBFImagePlugin.git
synced 2025-01-18 03:52:09 +01:00
Link abseil on Windows if required by protobuf
This commit is contained in:
parent
b2ff37b3a2
commit
e21629f021
@ -22,7 +22,7 @@ install:
|
|||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- cmd: |-
|
- cmd: |-
|
||||||
qmake PROTOBUF=%VCPKGDIR% ZLIB=%VCPKGDIR% pbfplugin.pro
|
qmake PROTOBUF=%VCPKGDIR% ZLIB=%VCPKGDIR% ABSEIL=%VCPKGDIR% pbfplugin.pro
|
||||||
nmake release
|
nmake release
|
||||||
|
|
||||||
artifacts:
|
artifacts:
|
||||||
|
@ -51,6 +51,9 @@ win32 {
|
|||||||
$$ZLIB/include
|
$$ZLIB/include
|
||||||
LIBS += $$PROTOBUF/lib/libprotobuf-lite.lib \
|
LIBS += $$PROTOBUF/lib/libprotobuf-lite.lib \
|
||||||
$$ZLIB/lib/zlibstatic.lib
|
$$ZLIB/lib/zlibstatic.lib
|
||||||
|
!isEmpty(ABSEIL) {
|
||||||
|
LIBS += $$ABSEIL/lib/absl.lib
|
||||||
|
}
|
||||||
|
|
||||||
QMAKE_TARGET_PRODUCT = QtPBFImagePlugin
|
QMAKE_TARGET_PRODUCT = QtPBFImagePlugin
|
||||||
QMAKE_TARGET_DESCRIPTION = Qt $$QT_VERSION MVT/PBF image plugin
|
QMAKE_TARGET_DESCRIPTION = Qt $$QT_VERSION MVT/PBF image plugin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user