Skip to content
Open
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: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ if(BUILD_TESTING)
find_package(geometry_msgs REQUIRED)
find_package(ament_cmake_gtest REQUIRED)

set(TESTING_DEPENDENCIES sensor_msgs geometry_msgs)

ament_add_gtest(rosx_introspection_test
test/test_parser.cpp
test/test_ros2.cpp )
Expand Down Expand Up @@ -110,7 +112,7 @@ endif(BUILD_TESTING)

if(USING_ROS2)
ament_export_targets(rosx_introspectionTargets HAS_LIBRARY_TARGET)
ament_export_dependencies(ament_index_cpp rosbag2_cpp)
ament_export_dependencies(ament_index_cpp rosbag2_cpp ${TESTING_DEPENDENCIES})
ament_package()
endif(USING_ROS2)

Expand Down