mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-02 13:48:05 -06:00
- BUGFIX: The torrent size displayed now takes filtered files into consideration
- BUGFIX: Fixed compiling errors with libtorrent svn (adds UPnP support)
This commit is contained in:
6
configure
vendored
6
configure
vendored
@@ -308,6 +308,9 @@ public:
|
||||
qWarning("Libtorrent >= v0.12 was not detected, PeX will be disabled.");
|
||||
conf->addDefine("NO_PEX");
|
||||
}
|
||||
if(conf->checkHeader(s, "libtorrent/lsd.hpp")){
|
||||
conf->addDefine("V_0_13");
|
||||
}
|
||||
}else{
|
||||
QStringList sl;
|
||||
sl << "/usr/include";
|
||||
@@ -324,6 +327,9 @@ public:
|
||||
qWarning("Libtorrent >= v0.12 was not detected, PeX will be disabled.");
|
||||
conf->addDefine("NO_PEX");
|
||||
}
|
||||
if(conf->checkHeader(s, "libtorrent/lsd.hpp")){
|
||||
conf->addDefine("V_0_13");
|
||||
}
|
||||
}
|
||||
conf->addIncludePath(s);
|
||||
conf->addIncludePath(s+QDir::separator()+"libtorrent");
|
||||
|
||||
Reference in New Issue
Block a user