Skip to content

Commit

Permalink
Fixing an issue with the qmake arguments regarding building with or w…
Browse files Browse the repository at this point in the history
…ithout UPNP support. The comments in the code did not agree with the actual behavior.
  • Loading branch information
dijonnaise committed Jun 9, 2017
1 parent 22b1103 commit 61a0061
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nexus-qt.pro
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,7 @@ contains(USE_QRCODE, 1) {
# or: qmake "USE_UPNP=0" (disabled by default)
# or: qmake "USE_UPNP=-" (not supported)
# miniupnpc (http://miniupnp.free.fr/files/) must be installed for support
contains(USE_UPNP, -) {
message(Building without UPNP support)
} else {
contains(USE_UPNP, 1) {
message(Building with UPNP support)
count(USE_UPNP, 0) {
USE_UPNP=1
Expand All @@ -79,6 +77,8 @@ contains(USE_UPNP, -) {
INCLUDEPATH += $$MINIUPNPC_INCLUDE_PATH
LIBS += $$join(MINIUPNPC_LIB_PATH,,-L,) -lminiupnpc
win32:LIBS += -liphlpapi
} else {
message(Building without UPNP support)
}

#handle the LLD build option
Expand Down

0 comments on commit 61a0061

Please sign in to comment.