Skip to content

Commit e67ab70

Browse files
authored
build(yabloc_pose_initializer): fix dependencies (#6190)
Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>
1 parent 2f761e1 commit e67ab70

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

localization/yabloc/yabloc_pose_initializer/CMakeLists.txt

+4
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ find_package(PCL REQUIRED COMPONENTS common kdtree)
1414
# Sophus
1515
find_package(Sophus REQUIRED)
1616

17+
# OpenCV
18+
find_package(OpenCV REQUIRED)
19+
1720
# ===================================================
1821
# Executable
1922
# Camera
@@ -28,6 +31,7 @@ ament_auto_add_executable(${TARGET}
2831
target_include_directories(${TARGET} PUBLIC include)
2932
target_include_directories(${TARGET} SYSTEM PRIVATE ${EIGEN3_INCLUDE_DIRS} ${PCL_INCLUDE_DIRS})
3033
target_link_libraries(${TARGET} ${PCL_LIBRARIES} Sophus::Sophus)
34+
ament_target_dependencies(${TARGET} OpenCV)
3135

3236
# ===================================================
3337
ament_auto_package(INSTALL_TO_SHARE config launch)

localization/yabloc/yabloc_pose_initializer/package.xml

+2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@
1717
<buildtool_depend>rosidl_default_generators</buildtool_depend>
1818

1919
<depend>autoware_auto_mapping_msgs</depend>
20+
<depend>cv_bridge</depend>
2021
<depend>geometry_msgs</depend>
2122
<depend>lanelet2_extension</depend>
23+
<depend>libopencv-dev</depend>
2224
<depend>rclcpp</depend>
2325
<depend>sensor_msgs</depend>
2426
<depend>tier4_localization_msgs</depend>

0 commit comments

Comments
 (0)