Skip to content

Commit caba78a

Browse files
authored
Finding message_filters (#773)
1 parent 632ae92 commit caba78a

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

swri_image_util/CMakeLists.txt

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ add_library(${PROJECT_NAME}_nodes SHARED
7676
#src/nodes/replace_colors_node.cpp
7777
src/nodes/rotate_image_node.cpp
7878
src/nodes/scale_image_node.cpp
79-
src/nodes/warp_image_node.cpp
80-
)
79+
src/nodes/warp_image_node.cpp)
80+
8181
target_compile_definitions(${PROJECT_NAME}_nodes
8282
PRIVATE "COMPOSITION_BUILDING_DLL")
8383
rclcpp_components_register_nodes(${PROJECT_NAME}_nodes "swri_image_util::BlendImagesNode")
@@ -94,10 +94,13 @@ rclcpp_components_register_nodes(${PROJECT_NAME}_nodes "swri_image_util::RotateI
9494
rclcpp_components_register_nodes(${PROJECT_NAME}_nodes "swri_image_util::ScaleImageNode")
9595
rclcpp_components_register_nodes(${PROJECT_NAME}_nodes "swri_image_util::WarpImageNode")
9696

97-
target_link_libraries(${PROJECT_NAME}_nodes PUBLIC
98-
${PROJECT_NAME}
99-
ament_index_cpp::ament_index_cpp
100-
image_transport::image_transport)
97+
target_link_libraries(${PROJECT_NAME}_nodes
98+
PUBLIC
99+
${PROJECT_NAME}
100+
ament_index_cpp::ament_index_cpp
101+
image_transport::image_transport
102+
PRIVATE
103+
message_filters::message_filters)
101104

102105
# Iron and later switched some cv_bridge files to .hpp from .h
103106
if ("${cv_bridge_VERSION}" VERSION_LESS "3.3.0")

0 commit comments

Comments
 (0)