Use pkgconfig to find zigbee also for tests
This commit is contained in:
parent
685450fdb3
commit
883c2e1c2a
@ -14,6 +14,9 @@ LIBS += -L$$top_builddir/libnymea/ -lnymea \
|
|||||||
-L$$top_builddir/libnymea-core -lnymea-core \
|
-L$$top_builddir/libnymea-core -lnymea-core \
|
||||||
-lnymea-remoteproxyclient
|
-lnymea-remoteproxyclient
|
||||||
|
|
||||||
|
CONFIG += link_pkgconfig
|
||||||
|
PKGCONFIG += nymea-zigbee
|
||||||
|
|
||||||
# Server files
|
# Server files
|
||||||
include(qtservice/qtservice.pri)
|
include(qtservice/qtservice.pri)
|
||||||
|
|
||||||
|
|||||||
@ -14,6 +14,8 @@ packagesExist(Qt5SerialBus) {
|
|||||||
message("Qt5SerialBus package not found. Building without QtSerialBus support.")
|
message("Qt5SerialBus package not found. Building without QtSerialBus support.")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
PKGCONFIG += nymea-zigbee
|
||||||
|
|
||||||
INCLUDEPATH += $$top_srcdir/libnymea \
|
INCLUDEPATH += $$top_srcdir/libnymea \
|
||||||
$$top_srcdir/libnymea-core \
|
$$top_srcdir/libnymea-core \
|
||||||
$$top_srcdir/tests/testlib/ \
|
$$top_srcdir/tests/testlib/ \
|
||||||
|
|||||||
@ -5,6 +5,9 @@ include(../../nymea.pri)
|
|||||||
|
|
||||||
QT += testlib dbus network sql websockets
|
QT += testlib dbus network sql websockets
|
||||||
|
|
||||||
|
CONFIG += link_pkgconfig
|
||||||
|
PKGCONFIG += nymea-zigbee
|
||||||
|
|
||||||
# Qt serial bus module is officially available since Qt 5.8
|
# Qt serial bus module is officially available since Qt 5.8
|
||||||
# but not all platforms host the qt serialbus package.
|
# but not all platforms host the qt serialbus package.
|
||||||
# Let's check if the package exists, not the qt version
|
# Let's check if the package exists, not the qt version
|
||||||
|
|||||||
Reference in New Issue
Block a user