Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(yabloc_pose_initializer): fix dependencies #6190

Merged
merged 1 commit into from
Jan 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading