Update qamqp.pri

Adapted to include qamqp library based on configuration build (release or debug).
This commit is contained in:
Ernesto De Stefano 2016-03-04 11:20:09 +01:00
parent d7a59f7ef0
commit ec734e3b34
1 changed files with 3 additions and 0 deletions

View File

@ -7,6 +7,9 @@ isEmpty(QAMQP_LIBRARY_TYPE) {
QT += network QT += network
QAMQP_INCLUDEPATH = $${PWD}/src QAMQP_INCLUDEPATH = $${PWD}/src
QAMQP_LIBS = -lqamqp QAMQP_LIBS = -lqamqp
CONFIG(debug, debug|release){
QAMQP_LIBS = -lqamqpd
}
contains(QAMQP_LIBRARY_TYPE, staticlib) { contains(QAMQP_LIBRARY_TYPE, staticlib) {
DEFINES += QAMQP_STATIC DEFINES += QAMQP_STATIC
} else { } else {