From bb541ea69d3286981833f87915d513d3a1fc742b Mon Sep 17 00:00:00 2001 From: AvinashRamashray <57354824+AvinashRamashray@users.noreply.github.com> Date: Wed, 23 Sep 2020 14:15:09 +0530 Subject: [PATCH] Updated CMakeLists.txt --- CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5d36afd..6c86a67 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,8 +19,9 @@ find_package(sensor_msgs REQUIRED) find_package(cv_bridge REQUIRED) find_package(message_filters REQUIRED) find_package(Pangolin REQUIRED) +find_package(ORB_SLAM2 REQUIRED) -set(ORB_SLAM2_DIR /root/ORB_SLAM2) +#set(ORB_SLAM2_DIR /root/ORB_SLAM2) include_directories(${ORB_SLAM2_DIR}/include) include_directories(${ORB_SLAM2_DIR}) @@ -70,4 +71,4 @@ ament_target_dependencies(stereo rclcpp sensor_msgs cv_bridge message_filters OR install(TARGETS mono rgbd stereo DESTINATION lib/${PROJECT_NAME}) -ament_package() \ No newline at end of file +ament_package()