Patch for issue #382

This commit is contained in:
matlabbe
2020-01-16 15:21:13 -05:00
parent d04e0e77ba
commit d80a66a724
2 changed files with 8 additions and 0 deletions
+6
View File
@@ -418,11 +418,16 @@ IF(costmap_2d_FOUND)
include_directories(${costmap_2d_INCLUDE_DIRS})
add_library(rtabmap_costmap_plugins
src/costmap_2d/static_layer.cpp
)
add_library(rtabmap_costmap_plugins2
src/costmap_2d/voxel_layer.cpp
)
target_link_libraries(rtabmap_costmap_plugins
${costmap_2d_LIBRARIES}
)
target_link_libraries(rtabmap_costmap_plugins2
${costmap_2d_LIBRARIES}
)
ENDIF(costmap_2d_FOUND)
#############
@@ -518,6 +523,7 @@ ENDIF(rviz_FOUND)
IF(costmap_2d_FOUND)
install(TARGETS
rtabmap_costmap_plugins
rtabmap_costmap_plugins2
ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}