From 036690881b841ca4367b05a0d29c53a63a50fb2c Mon Sep 17 00:00:00 2001 From: Dexter Watkins Date: Thu, 29 Mar 2018 14:30:30 -0500 Subject: [PATCH] closes #1 --- src/serial/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/serial/CMakeLists.txt b/src/serial/CMakeLists.txt index 80f47d1..89af493 100644 --- a/src/serial/CMakeLists.txt +++ b/src/serial/CMakeLists.txt @@ -25,4 +25,9 @@ add_library(serial src/serial/SerialPort.cpp) +install(DIRECTORY include/${PROJECT_NAME}/ DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION} FILES_MATCHING PATTERN "*.h" ) +install(DIRECTORY include/${PROJECT_NAME}/ DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION} FILES_MATCHING PATTERN "*.hpp" ) +install(TARGETS serial + ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION} + LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION})