fix install target for external plugin file
This commit is contained in:
parent
8698a5c1af
commit
37c0cbdb28
@ -31,8 +31,6 @@ CONFIG += plugin link_pkgconfig
|
|||||||
|
|
||||||
PKGCONFIG += nymea
|
PKGCONFIG += nymea
|
||||||
|
|
||||||
PLUGIN_PATH=/usr/lib/$$system('dpkg-architecture -q DEB_HOST_MULTIARCH')/nymea/plugins/
|
|
||||||
|
|
||||||
QMAKE_CXXFLAGS *= -Werror -std=c++11 -g
|
QMAKE_CXXFLAGS *= -Werror -std=c++11 -g
|
||||||
QMAKE_LFLAGS *= -std=c++11
|
QMAKE_LFLAGS *= -std=c++11
|
||||||
|
|
||||||
@ -83,5 +81,5 @@ HEADERS += $$OUT_PWD/plugininfo.h \
|
|||||||
DEPENDPATH += $$OUT_PWD
|
DEPENDPATH += $$OUT_PWD
|
||||||
|
|
||||||
# Install plugin
|
# Install plugin
|
||||||
target.path = $$PLUGIN_PATH
|
target.path = $$[QT_INSTALL_LIBS]/nymea/plugins/
|
||||||
INSTALLS += target translations
|
INSTALLS += target translations
|
||||||
|
|||||||
Reference in New Issue
Block a user