libresapi improve qmake optional builds

This commit is contained in:
Gioacchino Mazzurco 2018-06-07 14:59:00 +02:00
parent 3eff851cdb
commit e81b81dff1
No known key found for this signature in database
GPG Key ID: A1FBCA3872E87051
2 changed files with 5 additions and 2 deletions

View File

@ -16,8 +16,6 @@ INCLUDEPATH += ../../rapidjson-1.1.0
INCLUDEPATH += ../../libretroshare/src
libresapilocalserver {
CONFIG *= qt
QT *= network
SOURCES *= api/ApiServerLocal.cpp
HEADERS *= api/ApiServerLocal.h
}

View File

@ -10,6 +10,11 @@ sLibs =
mLibs =
dLibs =
libresapilocalserver {
CONFIG *= qt
QT *= network
}
libresapihttpserver {
mLibs *= microhttpd
}