diff --git a/test_nodelet/CMakeLists.txt b/test_nodelet/CMakeLists.txt index 0daf84d7..ad85e8b4 100644 --- a/test_nodelet/CMakeLists.txt +++ b/test_nodelet/CMakeLists.txt @@ -39,3 +39,6 @@ if(CATKIN_ENABLE_TESTING) add_executable(create_instance_cb_error src/create_instance_cb_error.cpp) target_link_libraries(create_instance_cb_error ${catkin_LIBRARIES}) endif() + +# always install, since it is marked in the package.xml +install(FILES test_nodelet.xml DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}) diff --git a/test_nodelet_topic_tools/CMakeLists.txt b/test_nodelet_topic_tools/CMakeLists.txt index 86ce628c..f8da3f2a 100644 --- a/test_nodelet_topic_tools/CMakeLists.txt +++ b/test_nodelet_topic_tools/CMakeLists.txt @@ -16,3 +16,6 @@ if(CATKIN_ENABLE_TESTING) add_rostest(test/test_nodelet_throttle.launch) endif() + +# always install, since it is marked in the package.xml +install(FILES test/test_nodelets.xml DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/test)