Merge PR #19: Fix header install path
commit
47da4a83aa
|
|
@ -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})
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue