From dad2fe54f758bea9a94cdac47c07c8df1c334aff Mon Sep 17 00:00:00 2001 From: Shaun Edwards Date: Sun, 5 Jan 2014 20:31:11 -0500 Subject: [PATCH] Added source install to simple message package --- simple_message/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/simple_message/CMakeLists.txt b/simple_message/CMakeLists.txt index 435e82e5..d3290d6b 100644 --- a/simple_message/CMakeLists.txt +++ b/simple_message/CMakeLists.txt @@ -134,3 +134,10 @@ install( install( DIRECTORY include/${PROJECT_NAME}/ DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}) + +# The simple message library is a source library with only the most common +# libraries pre-built. For this reason, the source is installed in the shared +# directory. +install( + DIRECTORY src/ + DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/src)