Use pkgconfig to find libnymea
This commit is contained in:
parent
4d52635d29
commit
067b42575c
@ -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
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user