Skip to content

Commit

Permalink
Mac OS X: Tweak project file to fix compilation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Christophe Dumez committed Dec 28, 2011
1 parent 0a0033b commit 39e1eba
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions macxconf.pri
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,22 @@ PREFIX = /usr/local
BINDIR = /usr/local/bin
DATADIR = /usr/local/share

INCLUDEPATH += /usr/local/include/libtorrent /usr/include/openssl /usr/include /opt/local/include/boost /opt/local/include
LIBS += -ltorrent-rasterbar -lcrypto -L/opt/local/lib -lboost_system-mt -lboost_filesystem-mt -lboost_thread-mt -framework Cocoa -framework Carbon -framework IOKit
# Use pkg-config to get all necessary libtorrent DEFINES
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.files = Icons/qBitTorrentDocument.icns
Expand Down

0 comments on commit 39e1eba

Please sign in to comment.