mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 21:33:27 -07:00
- Improved makefile generation
This commit is contained in:
parent
43195b7ada
commit
d67f141571
1 changed files with 10 additions and 6 deletions
14
src/src.pro
14
src/src.pro
|
@ -27,9 +27,9 @@ contains(DEBUG_MODE, 0){
|
||||||
|
|
||||||
QMAKE_CXXFLAGS_RELEASE += -fwrapv
|
QMAKE_CXXFLAGS_RELEASE += -fwrapv
|
||||||
QMAKE_CXXFLAGS_DEBUG += -fwrapv
|
QMAKE_CXXFLAGS_DEBUG += -fwrapv
|
||||||
LIBS += -lcurl
|
#LIBS += -lcurl
|
||||||
CONFIG += link_pkgconfig
|
#CONFIG += link_pkgconfig
|
||||||
PKGCONFIG += libtorrent
|
#PKGCONFIG += libtorrent
|
||||||
QT += network
|
QT += network
|
||||||
|
|
||||||
DEFINES += QT_NO_CAST_TO_ASCII
|
DEFINES += QT_NO_CAST_TO_ASCII
|
||||||
|
@ -63,8 +63,12 @@ unix {
|
||||||
INSTALLS += logos
|
INSTALLS += logos
|
||||||
}
|
}
|
||||||
|
|
||||||
target.path = $$PREFIX/bin/
|
exists(../conf.pri) {
|
||||||
INSTALLS += target
|
include(../conf.pri)
|
||||||
|
# Target
|
||||||
|
target.path = $$BINDIR
|
||||||
|
INSTALLS += target
|
||||||
|
}
|
||||||
|
|
||||||
RESOURCES = icons.qrc \
|
RESOURCES = icons.qrc \
|
||||||
lang.qrc \
|
lang.qrc \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue