Unify the Mac & Linux builds

Should also fix the Macports build
This commit is contained in:
Martin Tůma 2025-05-11 11:55:54 +02:00
parent b53d8f3df7
commit b1519e95d5

View File

@ -37,7 +37,7 @@ RESOURCES += pbfplugin.qrc
DEFINES += QT_NO_DEPRECATED_WARNINGS DEFINES += QT_NO_DEPRECATED_WARNINGS
unix:!macx:!android { unix:!android {
LIBS += -lz LIBS += -lz
target.path += $$[QT_INSTALL_PLUGINS]/imageformats target.path += $$[QT_INSTALL_PLUGINS]/imageformats
@ -51,9 +51,6 @@ win32 {
QMAKE_TARGET_DESCRIPTION = Qt $$QT_VERSION MVT/PBF image plugin QMAKE_TARGET_DESCRIPTION = Qt $$QT_VERSION MVT/PBF image plugin
QMAKE_TARGET_COPYRIGHT = Copyright (c) 2018-2025 Martin Tuma QMAKE_TARGET_COPYRIGHT = Copyright (c) 2018-2025 Martin Tuma
} }
macx {
LIBS += -lz
}
android { android {
LIBS += -lz LIBS += -lz