orocos-kdl: strip STAGING_DIR_TARGET prefix from cmake config file
This commit is contained in:
parent
9f6f30d174
commit
67214880a7
|
@ -11,6 +11,10 @@ do_install_append() {
|
|||
# remove sysroot library path from pkgconfig files
|
||||
sed -i -e 's#${STAGING_INCDIR}#${includedir}#g' \
|
||||
${D}${libdir}/pkgconfig/*.pc
|
||||
|
||||
# remove sysroot library path from cmake config files
|
||||
sed -i -e 's#${STAGING_DIR_TARGET}##g' \
|
||||
${D}${datadir}/orocos_kdl/*.cmake
|
||||
}
|
||||
|
||||
FILES_${PN}-dev += "${datadir}/orocos_kdl/*"
|
||||
|
|
Loading…
Reference in New Issue