Skip to content

Commit f8ad593

Browse files
committed
stop using ament_target_dependencies
1 parent 9a4192a commit f8ad593

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ROS2.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ find_package(pybind11)
4141

4242

4343
pybind11_add_module(_event_camera_py SHARED src/decoder.cpp)
44-
ament_target_dependencies(_event_camera_py PUBLIC event_camera_codecs pybind11)
44+
target_link_libraries(_event_camera_py PUBLIC ${event_camera_codecs_TARGETS} pybind11::pybind11)
4545

4646
#ament_python_install_module(${PROJECT_NAME})
4747
ament_python_install_package(${PROJECT_NAME})

0 commit comments

Comments
 (0)