mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 17:40:23 +08:00
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:
@@ -12,9 +12,9 @@ if(NOT internal)
|
||||
endif()
|
||||
|
||||
ADD_EXECUTABLE(bow_mapping main.cpp)
|
||||
TARGET_LINK_LIBRARIES(bow_mapping rtabmap)
|
||||
TARGET_LINK_LIBRARIES(bow_mapping rtabmap::rtabmap)
|
||||
|
||||
if(internal)
|
||||
SET_TARGET_PROPERTIES( bow_mapping
|
||||
PROPERTIES OUTPUT_NAME ${PROJECT_PREFIX}-bow_mapping)
|
||||
endif(internal)
|
||||
endif(internal)
|
||||
|
||||
Reference in New Issue
Block a user