Enable the usage of pkg-config by MinGW builds

This commit is contained in:
Joan Karadimov
2021-10-31 20:39:56 +02:00
committed by Felix Kauselmann
parent 30b8e1bf3c
commit 19410cd6e7
2 changed files with 5 additions and 5 deletions

View File

@ -6,7 +6,7 @@ HEADERS += $$PWD/extract_delegate.h \
SOURCES += $$PWD/compressed_archive.cpp
unix:!macx:!contains(QT_CONFIG, no-pkg-config):packagesExist(libunarr) {
if(mingw|unix):!macx:!contains(QT_CONFIG, no-pkg-config):packagesExist(libunarr) {
message(Using system provided unarr installation found by pkg-config.)
CONFIG += link_pkgconfig
PKGCONFIG += libunarr