octomap-ros: solves link issue with liboctomap.so if ros is installed on the machine

This commit is contained in:
minipada 2016-09-13 12:16:55 +02:00
parent d47a27bc60
commit 43bd17e883
1 changed files with 1 additions and 0 deletions

View File

@ -17,4 +17,5 @@ do_configure_append() {
sed -i -e 's: /usr/lib/liboctomap.so: ${STAGING_LIBDIR}/liboctomap.so:g' \
-e 's: /usr/lib/liboctomath.so: ${STAGING_LIBDIR}/liboctomath.so:g' \
${B}/CMakeFiles/octomap_ros.dir/build.make
sed -i -e 's:-L\/opt\/ros\/indigo\/lib::g' ${B}/CMakeFiles/octomap_ros.dir/link.txt
}