Use pkgconfig to find libnymea

pull/1/head
Michael Zanetti 2019-04-23 21:44:12 +02:00
parent f3956835c7
commit 41d3e2a4e9
1 changed files with 2 additions and 3 deletions

View File

@ -4,10 +4,9 @@ CONFIG += plugin
QMAKE_CXXFLAGS += -Werror -std=c++11 -g
QMAKE_LFLAGS += -std=c++11
# FIXME: Ideally libnymea-dev would ship pkgconfig files so we get libnymea includes from there
INCLUDEPATH += $$[QT_INSTALL_HEADERS]/../nymea
CONFIG += link_pkgconfig
PKGCONFIG += nymea
LIBS += -lnymea
HEADERS += $${OUT_PWD}/plugininfo.h \
$${OUT_PWD}/extern-plugininfo.h