From 558fbfa484557feeb21691f609e0e625437b5a57 Mon Sep 17 00:00:00 2001 From: Stefan Kohlbrecher Date: Fri, 1 Feb 2019 20:45:45 +0100 Subject: [PATCH 1/2] Fix install by removing install rule for non-existant launch folder --- src/xsens_msgs/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/xsens_msgs/CMakeLists.txt b/src/xsens_msgs/CMakeLists.txt index 50fe424..befbaa7 100755 --- a/src/xsens_msgs/CMakeLists.txt +++ b/src/xsens_msgs/CMakeLists.txt @@ -151,10 +151,10 @@ include_directories( # ) ## Mark other files for installation (e.g. launch and bag files, etc.) -install( - DIRECTORY launch - DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} -) +#install( +# DIRECTORY launch +# DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} +#) ############# ## Testing ## From a82dc44055790fbf680056e3e7c442672526d1de Mon Sep 17 00:00:00 2001 From: Stefan Kohlbrecher Date: Sat, 2 Feb 2019 00:23:37 +0100 Subject: [PATCH 2/2] Add install rules for launch and config folder in xsens_driver package --- src/xsens_driver/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/xsens_driver/CMakeLists.txt b/src/xsens_driver/CMakeLists.txt index 1f75b94..1d2407c 100755 --- a/src/xsens_driver/CMakeLists.txt +++ b/src/xsens_driver/CMakeLists.txt @@ -132,6 +132,11 @@ install(PROGRAMS DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION} ) +install( + DIRECTORY launch config + DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} +) + ## Mark executables and/or libraries for installation # install(TARGETS test_py test_py_node # ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}