@ -534,7 +534,7 @@ public:
QString version, libs, other;
VersionMode mode = VersionMin;
if(conf->findPkgConfig("libnotify", mode, req_ver, &version, &incs, &libs, &other)) {
conf->addDefine("WITH_LIBNOTIFY");
conf->addExtra("CONFIG += libnotify");
for(int n = 0; n < incs.count(); ++n)
conf->addIncludePath(incs[n]);
if(!libs.isEmpty())
@ -24,7 +24,7 @@ public:
@ -4,6 +4,10 @@ QMAKE_LFLAGS_APP += -rdynamic
CONFIG += link_pkgconfig
PKGCONFIG += libtorrent-rasterbar
libnotify {
DEFINES += WITH_LIBNOTIFY
}
# Man page
nox {
man.files = ../doc/qbittorrent-nox.1