Merge PR #461: Use pkgconfig to find zigbee also for tests

pull/470/merge
Jenkins nymea 2021-10-04 12:10:43 +02:00
commit 69577f985d
3 changed files with 8 additions and 0 deletions

View File

@ -14,6 +14,9 @@ LIBS += -L$$top_builddir/libnymea/ -lnymea \
-L$$top_builddir/libnymea-core -lnymea-core \
-lnymea-remoteproxyclient
CONFIG += link_pkgconfig
PKGCONFIG += nymea-zigbee
# Server files
include(qtservice/qtservice.pri)

View File

@ -7,6 +7,8 @@ packagesExist(Qt5SerialBus) {
DEFINES += WITH_QTSERIALBUS
}
PKGCONFIG += nymea-zigbee
INCLUDEPATH += $$top_srcdir/libnymea \
$$top_srcdir/libnymea-core \
$$top_srcdir/tests/testlib/ \

View File

@ -5,6 +5,9 @@ include(../../nymea.pri)
QT += testlib dbus network sql websockets
CONFIG += link_pkgconfig
PKGCONFIG += nymea-zigbee
# Qt serial bus module is officially available since Qt 5.8
# but not all platforms host the qt serialbus package.
# Let's check if the package exists, not the qt version