mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 05:13:30 -07:00
Fix compilation in release mode
This commit is contained in:
parent
b3f89027fc
commit
7a7d351017
2 changed files with 3 additions and 3 deletions
|
@ -40,7 +40,7 @@ CONFIG(debug, debug|release):message(Project is built in DEBUG mode.)
|
||||||
CONFIG(release, debug|release):message(Project is built in RELEASE mode.)
|
CONFIG(release, debug|release):message(Project is built in RELEASE mode.)
|
||||||
|
|
||||||
# Disable debug output in release mode
|
# Disable debug output in release mode
|
||||||
!debug {
|
CONFIG(release, debug|release) {
|
||||||
message(Disabling debug output.)
|
message(Disabling debug output.)
|
||||||
DEFINES += QT_NO_DEBUG_OUTPUT
|
DEFINES += QT_NO_DEBUG_OUTPUT
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,7 +27,7 @@ DEFINES += _WIN32_WINNT=0x0500
|
||||||
DEFINES += __USE_W32_SOCKETS
|
DEFINES += __USE_W32_SOCKETS
|
||||||
DEFINES += WITH_SHIPPED_GEOIP_H
|
DEFINES += WITH_SHIPPED_GEOIP_H
|
||||||
|
|
||||||
debug {
|
CONFIG(debug, debug|release) {
|
||||||
DEFINES += TORRENT_DEBUG
|
DEFINES += TORRENT_DEBUG
|
||||||
} else {
|
} else {
|
||||||
DEFINES += NDEBUG
|
DEFINES += NDEBUG
|
||||||
|
@ -35,7 +35,7 @@ debug {
|
||||||
|
|
||||||
RC_FILE = qbittorrent.rc
|
RC_FILE = qbittorrent.rc
|
||||||
|
|
||||||
debug {
|
CONFIG(debug, debug|release) {
|
||||||
LIBS += libtorrentd.lib \
|
LIBS += libtorrentd.lib \
|
||||||
libboost_system-vc90-mt-gd.lib \
|
libboost_system-vc90-mt-gd.lib \
|
||||||
libboost_filesystem-vc90-mt-gd.lib \
|
libboost_filesystem-vc90-mt-gd.lib \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue