From ffda7e90914a6e83e53fa873565f0c756adfeec5 Mon Sep 17 00:00:00 2001 From: Florent Lamiraux <florent@laas.fr> Date: Sat, 23 Apr 2016 14:16:28 +0200 Subject: [PATCH] Export -lros_bridge -lros_interpreter in pc file generated by cmake module pc file is generated both by catkin and by cmake module. Keep both up to date for security. --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3d8b4d0..f76f312 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -159,6 +159,8 @@ add_subdirectory(src) add_service_files( FILES RunPythonFile.srv ) generate_messages( DEPENDENCIES std_msgs ) catkin_package(CATKIN_DEPENDS message_runtime LIBRARIES ros_bridge ros_interpreter) +# Add libraries in pc file generated by cmake submodule +PKG_CONFIG_APPEND_LIBS(ros_bridge ros_interpreter) #install ros executables install(PROGRAMS -- GitLab