Merge pull request #39 from droidsyer/patch-3

Update src.pro
This commit is contained in:
Matt Broadstone 2016-03-04 10:23:27 -05:00
commit e9af40515b
2 changed files with 6 additions and 0 deletions

View File

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

View File

@ -3,6 +3,9 @@ include(../qamqp.pri)
INCLUDEPATH += .
TEMPLATE = lib
TARGET = qamqp
build_pass:CONFIG(debug, debug|release) {
TARGET = $$join(TARGET,,,d)
}
QT += core network
QT -= gui
DEFINES += QAMQP_BUILD