collada-urdf: preliminary solution to #175

After configuring collada-urdf, the recipe modifies the generated
files to address the problem in #175. However, it does not solve
the root of this cause.
This commit is contained in:
Lukas Bulwahn 2013-10-13 12:45:06 +02:00
parent d0ce58c784
commit 97dfb6f7e2
1 changed files with 9 additions and 0 deletions

View File

@ -6,3 +6,12 @@ LIC_FILES_CHKSUM = "file://package.xml;beginline=15;endline=15;md5=d566ef916e9de
DEPENDS = "angles assimp resource-retriever collada-dom collada-parser roscpp urdf geometric-shapes"
require robot-model.inc
do_configure_append() {
for f in collada_urdf.dir urdf_to_collada.dir
do
sed -i -e 's: /usr/lib/liboctomap.so: ${STAGING_LIBDIR}/liboctomap.so:g' \
-e 's: /usr/lib/liboctomath.so: ${STAGING_LIBDIR}/liboctomath.so:g' \
${S}/build/CMakeFiles/$f/build.make
done
}