From 67214880a7280150e35e40628ae0a9bfa18bd577 Mon Sep 17 00:00:00 2001 From: Dominique Hunziker Date: Thu, 22 Jun 2017 10:18:38 +0200 Subject: [PATCH] orocos-kdl: strip STAGING_DIR_TARGET prefix from cmake config file --- recipes-extended/kdl/orocos-kdl_1.3.0.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/recipes-extended/kdl/orocos-kdl_1.3.0.bb b/recipes-extended/kdl/orocos-kdl_1.3.0.bb index 5051c08..dba512d 100644 --- a/recipes-extended/kdl/orocos-kdl_1.3.0.bb +++ b/recipes-extended/kdl/orocos-kdl_1.3.0.bb @@ -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/*"