fixed missing grid_map_core definitions on rtabmap_slam side

This commit is contained in:
matlabbe
2024-01-03 18:06:01 -08:00
parent eed4180f97
commit c70f9f1b14
3 changed files with 9 additions and 2 deletions
+6
View File
@@ -60,6 +60,12 @@ MESSAGE(STATUS "WITH octomap_msgs")
ADD_DEFINITIONS("-DWITH_OCTOMAP_MSGS")
ENDIF(octomap_msgs_FOUND)
# If grid_map_core is found, add definition
IF(grid_map_core_FOUND)
MESSAGE(STATUS "WITH grid_map_core")
ADD_DEFINITIONS("-DWITH_GRID_MAP_CORE")
ENDIF(grid_map_core_FOUND)
# If apriltag_ros is found, add definition
IF(apriltag_ros_FOUND)
MESSAGE(STATUS "WITH apriltag_ros")