Skip to content

Commit

Permalink
build(yabloc_pose_initializer): fix dependencies (autowarefoundation#…
Browse files Browse the repository at this point in the history
…6190)

Signed-off-by: Esteve Fernandez <[email protected]>
  • Loading branch information
esteve authored and kyoichi-sugahara committed Jan 29, 2024
1 parent 32c298a commit d24b874
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions localization/yabloc/yabloc_pose_initializer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ find_package(PCL REQUIRED COMPONENTS common kdtree)
# Sophus
find_package(Sophus REQUIRED)

# OpenCV
find_package(OpenCV REQUIRED)

# ===================================================
# Executable
# Camera
Expand All @@ -28,6 +31,7 @@ ament_auto_add_executable(${TARGET}
target_include_directories(${TARGET} PUBLIC include)
target_include_directories(${TARGET} SYSTEM PRIVATE ${EIGEN3_INCLUDE_DIRS} ${PCL_INCLUDE_DIRS})
target_link_libraries(${TARGET} ${PCL_LIBRARIES} Sophus::Sophus)
ament_target_dependencies(${TARGET} OpenCV)

# ===================================================
ament_auto_package(INSTALL_TO_SHARE config launch)
2 changes: 2 additions & 0 deletions localization/yabloc/yabloc_pose_initializer/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@
<buildtool_depend>rosidl_default_generators</buildtool_depend>

<depend>autoware_auto_mapping_msgs</depend>
<depend>cv_bridge</depend>
<depend>geometry_msgs</depend>
<depend>lanelet2_extension</depend>
<depend>libopencv-dev</depend>
<depend>rclcpp</depend>
<depend>sensor_msgs</depend>
<depend>tier4_localization_msgs</depend>
Expand Down

0 comments on commit d24b874

Please sign in to comment.