1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-10 23:07:59 +00:00

Mac OS X: Tweak project file to fix compilation errors

This commit is contained in:
Christophe Dumez 2011-12-28 14:24:59 +02:00
parent 0a0033b242
commit 39e1ebaa9b

View File

@ -2,8 +2,22 @@ PREFIX = /usr/local
BINDIR = /usr/local/bin BINDIR = /usr/local/bin
DATADIR = /usr/local/share DATADIR = /usr/local/share
INCLUDEPATH += /usr/local/include/libtorrent /usr/include/openssl /usr/include /opt/local/include/boost /opt/local/include # Use pkg-config to get all necessary libtorrent DEFINES
LIBS += -ltorrent-rasterbar -lcrypto -L/opt/local/lib -lboost_system-mt -lboost_filesystem-mt -lboost_thread-mt -framework Cocoa -framework Carbon -framework IOKit CONFIG += link_pkgconfig
PKGCONFIG += libtorrent-rasterbar
# Special include/libs paths (macports)
INCLUDEPATH += /usr/include/openssl /usr/include /opt/local/include/boost /opt/local/include
LIBS += -L/opt/local/lib
# OpenSSL lib
LIBS += -lssl -lcrypto
# Boost system lib
LIBS += -lboost_system-mt
# Boost filesystem lib (Not needed for libtorrent >= 0.16.0)
LIBS += -lboost_filesystem-mt
# Carbon
LIBS += -framework Carbon -framework IOKit
document_icon.path = Contents/Resources document_icon.path = Contents/Resources
document_icon.files = Icons/qBitTorrentDocument.icns document_icon.files = Icons/qBitTorrentDocument.icns