Use pkgconfig to find libnymea
This commit is contained in:
parent
f3956835c7
commit
41d3e2a4e9
@ -4,10 +4,9 @@ CONFIG += plugin
|
|||||||
QMAKE_CXXFLAGS += -Werror -std=c++11 -g
|
QMAKE_CXXFLAGS += -Werror -std=c++11 -g
|
||||||
QMAKE_LFLAGS += -std=c++11
|
QMAKE_LFLAGS += -std=c++11
|
||||||
|
|
||||||
# FIXME: Ideally libnymea-dev would ship pkgconfig files so we get libnymea includes from there
|
CONFIG += link_pkgconfig
|
||||||
INCLUDEPATH += $$[QT_INSTALL_HEADERS]/../nymea
|
PKGCONFIG += nymea
|
||||||
|
|
||||||
LIBS += -lnymea
|
|
||||||
HEADERS += $${OUT_PWD}/plugininfo.h \
|
HEADERS += $${OUT_PWD}/plugininfo.h \
|
||||||
$${OUT_PWD}/extern-plugininfo.h
|
$${OUT_PWD}/extern-plugininfo.h
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user