Merge PR #19: Fix header install path

add-pkgconfig
Jenkins nymea 2021-02-14 23:00:33 +01:00
commit 47da4a83aa
2 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ SOURCES += \
# install header file with relative subdirectory
for(header, HEADERS) {
path = /usr/include/nymea-remoteproxy/$${dirname(header)}
path = $$[QT_INSTALL_PREFIX]/include/nymea-remoteproxy/$${dirname(header)}
eval(headers_$${path}.files += $${header})
eval(headers_$${path}.path = $${path})
eval(INSTALLS *= headers_$${path})

View File

@ -7,6 +7,6 @@ target.path = $$[QT_INSTALL_LIBS]
include(libnymea-remoteproxyclient.pri)
installheaders.files = remoteproxyconnection.h
installheaders.path = /usr/include/nymea-remoteproxyclient/
installheaders.path = $$[QT_INSTALL_PREFIX]/include/nymea-remoteproxyclient/
INSTALLS += target installheaders