File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,8 +2,22 @@ PREFIX = /usr/local
22BINDIR = /usr/local/bin
33DATADIR = /usr/local/share
44
5- INCLUDEPATH += /usr/local/include/libtorrent /usr/include/openssl /usr/include /opt/local/include/boost /opt/local/include
6- LIBS += -ltorrent-rasterbar -lcrypto -L/opt/local/lib -lboost_system-mt -lboost_filesystem-mt -lboost_thread-mt -framework Cocoa -framework Carbon -framework IOKit
5+ # Use pkg-config to get all necessary libtorrent DEFINES
6+ CONFIG += link_pkgconfig
7+ PKGCONFIG += libtorrent-rasterbar
8+
9+ # Special include/libs paths (macports)
10+ INCLUDEPATH += /usr/include/openssl /usr/include /opt/local/include/boost /opt/local/include
11+ LIBS += -L/opt/local/lib
12+
13+ # OpenSSL lib
14+ LIBS += -lssl -lcrypto
15+ # Boost system lib
16+ LIBS += -lboost_system-mt
17+ # Boost filesystem lib (Not needed for libtorrent >= 0.16.0)
18+ LIBS += -lboost_filesystem-mt
19+ # Carbon
20+ LIBS += -framework Carbon -framework IOKit
721
822document_icon.path = Contents/Resources
923document_icon.files = Icons/qBitTorrentDocument.icns
You can’t perform that action at this time.
0 commit comments