Skip to content

Commit

Permalink
Add missing PUBLIC argument in target_link_libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
traversaro authored Jan 10, 2025
1 parent c15a555 commit bde49a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hardware_interface/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ target_include_directories(mock_components PUBLIC
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:include/hardware_interface>
)
target_link_libraries(mock_components hardware_interface)
target_link_libraries(mock_components PUBLIC hardware_interface)
ament_target_dependencies(mock_components PUBLIC ${THIS_PACKAGE_INCLUDE_DEPENDS})

pluginlib_export_plugin_description_file(
Expand Down

0 comments on commit bde49a2

Please sign in to comment.