make use of pkg-config in plugin.pri

This commit is contained in:
Michael Zanetti 2019-05-03 15:46:44 +02:00
parent ac766c9cc8
commit b03899ce39

View File

@ -27,10 +27,9 @@
TEMPLATE = lib
CONFIG += plugin
CONFIG += plugin link_pkgconfig
INCLUDEPATH += /usr/include/nymea
LIBS += -lnymea
PKGCONFIG += nymea
PLUGIN_PATH=/usr/lib/$$system('dpkg-architecture -q DEB_HOST_MULTIARCH')/nymea/plugins/