diff --git a/macxconf.pri b/macxconf.pri index abf071207..876af0850 100644 --- a/macxconf.pri +++ b/macxconf.pri @@ -1,26 +1,15 @@ -PREFIX = /usr/local -BINDIR = /usr/local/bin -DATADIR = /usr/local/share +# Generated by the configure file +# Ignore any WARNING about 'conf.pri' missing during configure. The file should be found during make. +# If not there will be a WARNING again. +# The first path is used when the source is being build by packagers (pbuilder/sbuild/etc) +# The second path is used when you manually run the configure script in the root folder (eg when using qt creator) +exists($$OUT_PWD/../conf.pri) { + include($$OUT_PWD/../conf.pri) +} else { + include(conf.pri) +} -# Use pkg-config to get all necessary libtorrent DEFINES -CONFIG += link_pkgconfig -PKGCONFIG += libtorrent-rasterbar -DEFINES += BOOST_ASIO_DYN_LINK - -# 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 -# Zlib -LIBS += -lz document_icon.path = Contents/Resources document_icon.files = mac/qBitTorrentDocument.icns