mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-06 03:44:29 +00:00
Use the configure script to prepare the build in Mac OSX too. Closes #2295.
This commit is contained in:
parent
ea2b650e7f
commit
298bab7dd7
31
macxconf.pri
31
macxconf.pri
@ -1,26 +1,15 @@
|
|||||||
PREFIX = /usr/local
|
# Generated by the configure file
|
||||||
BINDIR = /usr/local/bin
|
# Ignore any WARNING about 'conf.pri' missing during configure. The file should be found during make.
|
||||||
DATADIR = /usr/local/share
|
# 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
|
LIBS += -framework Carbon -framework IOKit
|
||||||
# Zlib
|
|
||||||
LIBS += -lz
|
|
||||||
|
|
||||||
document_icon.path = Contents/Resources
|
document_icon.path = Contents/Resources
|
||||||
document_icon.files = mac/qBitTorrentDocument.icns
|
document_icon.files = mac/qBitTorrentDocument.icns
|
||||||
|
Loading…
x
Reference in New Issue
Block a user