Updated cmake target for latest grid_map_core version

This commit is contained in:
matlabbe
2024-12-08 09:58:37 -08:00
parent d33e98a540
commit a613998652

View File

@@ -643,10 +643,10 @@ IF(octomap_FOUND)
ENDIF(octomap_FOUND)
IF(grid_map_core_FOUND)
IF(TARGET grid_map_core)
IF(TARGET grid_map_core::grid_map_core)
SET(LIBRARIES
${LIBRARIES}
grid_map_core
grid_map_core::grid_map_core
)
ELSE()
SET(INCLUDE_DIRS