CMake Config: added "rtabmap::" prefix for all rtabmap's targets, provide RTABMap_TARGETS list (used by ROS2/ament to detect modern cmake packages).

This commit is contained in:
matlabbe
2023-02-22 23:07:30 -08:00
parent 70c3d5d97f
commit 731d73b798
9 changed files with 36 additions and 12 deletions

View File

@@ -19,7 +19,7 @@ ENDIF()
ADD_EXECUTABLE(rgbd_mapping main.cpp ${moc_srcs})
TARGET_LINK_LIBRARIES(rgbd_mapping rtabmap_gui)
TARGET_LINK_LIBRARIES(rgbd_mapping rtabmap::gui)
if(internal)
SET_TARGET_PROPERTIES( rgbd_mapping