mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 08:47:45 +08:00
Added apriltag_msgs support
This commit is contained in:
@@ -34,6 +34,7 @@ ENDIF()
|
||||
|
||||
#optional
|
||||
find_package(octomap_msgs)
|
||||
find_package(apriltag_msgs)
|
||||
|
||||
IF(WIN32)
|
||||
add_compile_options(-bigobj)
|
||||
@@ -74,8 +75,22 @@ SET(rtabmap_slam_plugins_lib_src
|
||||
IF(octomap_msgs_FOUND)
|
||||
MESSAGE(STATUS "WITH octomap_msgs")
|
||||
ADD_DEFINITIONS("-DWITH_OCTOMAP_MSGS")
|
||||
SET(Libraries
|
||||
${Libraries}
|
||||
octomap_msgs
|
||||
)
|
||||
ENDIF(octomap_msgs_FOUND)
|
||||
|
||||
# If apriltag_msgs is found, add definition
|
||||
IF(apriltag_msgs_FOUND)
|
||||
MESSAGE(STATUS "WITH apriltag_msgs")
|
||||
ADD_DEFINITIONS("-DWITH_APRILTAG_MSGS")
|
||||
SET(Libraries
|
||||
${Libraries}
|
||||
apriltag_msgs
|
||||
)
|
||||
ENDIF(apriltag_msgs_FOUND)
|
||||
|
||||
############################
|
||||
## Declare a cpp library
|
||||
############################
|
||||
|
||||
Reference in New Issue
Block a user