From 7cedbf04d5deb3b183d92756b912816ce7618aca Mon Sep 17 00:00:00 2001 From: Chen Bainian Date: Fri, 16 Apr 2021 22:27:21 +0800 Subject: [PATCH] Fix ament_export_dependencies syntax in CMake (#65) Signed-off-by: Chen Bainian --- theora_image_transport/CMakeLists.txt | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/theora_image_transport/CMakeLists.txt b/theora_image_transport/CMakeLists.txt index 13a8c52..d301dee 100644 --- a/theora_image_transport/CMakeLists.txt +++ b/theora_image_transport/CMakeLists.txt @@ -94,12 +94,8 @@ rosidl_target_interfaces(ogg_saver ${PROJECT_NAME} "rosidl_typesupport_cpp") ament_export_dependencies(rosidl_default_runtime - ${OpenCV_LIBRARIES} - ${PC_OGG_LIBRARIES} - ${PC_THEORA_LIBRARIES} - ${PC_THEORAENC_LIBRARIES} - ${PC_THEORADEC_LIBRARIES} - ${LIBRARY_NAME}) + OpenCV + PkgConfig) install(TARGETS ${LIBRARY_NAME} ogg_saver ARCHIVE DESTINATION lib/${PROJECT_NAME}