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