Merge PR #19: Fix header install path
This commit is contained in:
commit
47da4a83aa
@ -56,7 +56,7 @@ SOURCES += \
|
|||||||
|
|
||||||
# install header file with relative subdirectory
|
# install header file with relative subdirectory
|
||||||
for(header, HEADERS) {
|
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}.files += $${header})
|
||||||
eval(headers_$${path}.path = $${path})
|
eval(headers_$${path}.path = $${path})
|
||||||
eval(INSTALLS *= headers_$${path})
|
eval(INSTALLS *= headers_$${path})
|
||||||
|
|||||||
@ -7,6 +7,6 @@ target.path = $$[QT_INSTALL_LIBS]
|
|||||||
include(libnymea-remoteproxyclient.pri)
|
include(libnymea-remoteproxyclient.pri)
|
||||||
|
|
||||||
installheaders.files = remoteproxyconnection.h
|
installheaders.files = remoteproxyconnection.h
|
||||||
installheaders.path = /usr/include/nymea-remoteproxyclient/
|
installheaders.path = $$[QT_INSTALL_PREFIX]/include/nymea-remoteproxyclient/
|
||||||
|
|
||||||
INSTALLS += target installheaders
|
INSTALLS += target installheaders
|
||||||
|
|||||||
Reference in New Issue
Block a user