From 51fc022524d6ecebf603bac0c8ab39f22fff1a2f Mon Sep 17 00:00:00 2001 From: razlaw Date: Thu, 22 Aug 2019 13:41:40 +0200 Subject: [PATCH] fix for issue #3 - installing video_recorder_nodelet and launch and trajectories directories to enable cinematographer to run in install mode --- rviz_cinematographer_gui/CMakeLists.txt | 7 ++++++- video_recorder/CMakeLists.txt | 11 +++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/rviz_cinematographer_gui/CMakeLists.txt b/rviz_cinematographer_gui/CMakeLists.txt index 91932c3..546708d 100644 --- a/rviz_cinematographer_gui/CMakeLists.txt +++ b/rviz_cinematographer_gui/CMakeLists.txt @@ -111,7 +111,12 @@ install(FILES plugin.xml DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} ) - +install(DIRECTORY launch + DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} +) +install(DIRECTORY trajectories + DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} +) # Dummy target for IDE's diff --git a/video_recorder/CMakeLists.txt b/video_recorder/CMakeLists.txt index b413f2a..2cfa07c 100644 --- a/video_recorder/CMakeLists.txt +++ b/video_recorder/CMakeLists.txt @@ -42,6 +42,17 @@ add_dependencies(${PROJECT_NAME}_nodelet ${catkin_EXPORTED_TARGETS} ) +install(FILES nodelet_plugins.xml + DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} +) +install(TARGETS ${PROJECT_NAME}_nodelet + RUNTIME DESTINATION ${CATKIN_GLOBAL_BIN_DESTINATION} + ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION} + LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION} +) +install(DIRECTORY launch + DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} +) # Dummy target for IDE's FILE(GLOB_RECURSE all_headers_for_ides