From e277b04b308053ad27edaec8052e449a2a9663ea Mon Sep 17 00:00:00 2001 From: Kei Okada Date: Wed, 10 Jul 2019 11:31:41 +0900 Subject: [PATCH] CMakeLists.txt: fix install command (install libs, install includes to corrrect position as well as hxx --- CMakeLists.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index afb5a18..3e37b59 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -152,16 +152,16 @@ target_link_libraries(gridfastslam # ) ## Mark executables and/or libraries for installation -# install(TARGETS ${PROJECT_NAME} ${PROJECT_NAME}_node -# ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION} -# LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION} -# RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION} -# ) +install(TARGETS utils autoptr_test sensor_base sensor_odometry sensor_range sensor_range log log_test log_plot scanstudio2carmen rdk2carmen configfile configfile_test scanmatcher scanmatch_test icptest gridfastslam gfs2log gfs2rec gfs2neff + ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION} + LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION} + RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION} +) ## Mark cpp header files for installation -install(DIRECTORY include/${PROJECT_NAME}/ +install(DIRECTORY include/gmapping DESTINATION ${CATKIN_GLOBAL_INCLUDE_DESTINATION} - FILES_MATCHING PATTERN "*.h" + FILES_MATCHING PATTERN "*.h*" PATTERN ".svn" EXCLUDE )