mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 00:37:46 +08:00
Patch for issue #382
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user