only install relevant headers
This commit is contained in:
parent
d28906faf0
commit
682e18e9df
@ -2,16 +2,11 @@ include(../nymea-remoteproxy.pri)
|
|||||||
|
|
||||||
TEMPLATE = lib
|
TEMPLATE = lib
|
||||||
TARGET = nymea-remoteproxyclient
|
TARGET = nymea-remoteproxyclient
|
||||||
|
target.path = /usr/lib/
|
||||||
|
|
||||||
include(libnymea-remoteproxyclient.pri)
|
include(libnymea-remoteproxyclient.pri)
|
||||||
|
|
||||||
# install header file with relative subdirectory
|
installheaders.files = remoteproxyconnection.h
|
||||||
for(header, HEADERS) {
|
installheaders.path = /usr/include/nymea-remoteproxyclient/
|
||||||
path = /usr/include/nymea-remoteproxyclient/$${dirname(header)}
|
|
||||||
eval(headers_$${path}.files += $${header})
|
|
||||||
eval(headers_$${path}.path = $${path})
|
|
||||||
eval(INSTALLS *= headers_$${path})
|
|
||||||
}
|
|
||||||
|
|
||||||
target.path = /usr/lib/
|
INSTALLS += target installheaders
|
||||||
INSTALLS += target
|
|
||||||
|
|||||||
Reference in New Issue
Block a user