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

fix(autoware_perception_rviz_plugin, autoware_test_utils): add missing packages and library linking #9178

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
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
5 changes: 5 additions & 0 deletions common/autoware_perception_rviz_plugin/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@ project(autoware_perception_rviz_plugin)
find_package(autoware_cmake REQUIRED)
autoware_package()

find_package(autoware_perception_msgs REQUIRED)
find_package(pluginlib REQUIRED)
find_package(Qt5 REQUIRED COMPONENTS Widgets)
find_package(rviz_common REQUIRED)
find_package(rviz_default_plugins REQUIRED)
find_package(visualization_msgs REQUIRED)

set(OD_PLUGIN_LIB_SRC
src/object_detection/detected_objects_display.cpp
Expand Down
2 changes: 2 additions & 0 deletions common/autoware_perception_rviz_plugin/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@
<build_depend>qtbase5-dev</build_depend>

<depend>autoware_perception_msgs</depend>
<depend>pluginlib</depend>
<depend>rviz_common</depend>
<depend>rviz_default_plugins</depend>
<depend>visualization_msgs</depend>

<exec_depend>libqt5-widgets</exec_depend>
<exec_depend>rviz2</exec_depend>
Expand Down
2 changes: 2 additions & 0 deletions common/autoware_test_utils/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ ament_auto_add_library(autoware_test_utils SHARED

ament_auto_add_executable(topic_snapshot_saver src/topic_snapshot_saver.cpp)

target_link_libraries(autoware_test_utils yaml-cpp)

target_link_libraries(topic_snapshot_saver autoware_test_utils)

if(BUILD_TESTING)
Expand Down
Loading