From e81b81dff137e468cbf164811a736863074f00aa Mon Sep 17 00:00:00 2001 From: Gioacchino Mazzurco Date: Thu, 7 Jun 2018 14:59:00 +0200 Subject: [PATCH] libresapi improve qmake optional builds --- libresapi/src/libresapi.pro | 2 -- libresapi/src/use_libresapi.pri | 5 +++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/libresapi/src/libresapi.pro b/libresapi/src/libresapi.pro index 885d430f5..6f6db46a4 100644 --- a/libresapi/src/libresapi.pro +++ b/libresapi/src/libresapi.pro @@ -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 } diff --git a/libresapi/src/use_libresapi.pri b/libresapi/src/use_libresapi.pri index e9b1753a2..c84103f1b 100644 --- a/libresapi/src/use_libresapi.pri +++ b/libresapi/src/use_libresapi.pri @@ -10,6 +10,11 @@ sLibs = mLibs = dLibs = +libresapilocalserver { + CONFIG *= qt + QT *= network +} + libresapihttpserver { mLibs *= microhttpd }