Skip to content

Commit

Permalink
Further project file clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Christophe Dumez committed Nov 20, 2010
1 parent c9ff34a commit b7ae2ea
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
2 changes: 1 addition & 1 deletion qcm/libnotify.qcm
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,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())
Expand Down
4 changes: 4 additions & 0 deletions unixconf.pri
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b7ae2ea

Please sign in to comment.