From 54abe184a36a1cfba8d8f6e490ba98abbf1506bf Mon Sep 17 00:00:00 2001 From: Will Baker Date: Mon, 23 Jan 2017 18:49:14 -0600 Subject: [PATCH] install fix --- CMakeLists.txt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 00ede4f..b1847eb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -123,18 +123,18 @@ target_link_libraries(slaveinfo ethercat_soem) # ) ## Mark executables and/or libraries for installation -# install(TARGETS ethercat_soem ethercat_soem_node -# ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION} -# LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION} -# RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION} -# ) +install(TARGETS ethercat_soem #ethercat_soem_node + 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}/ -# DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION} +install(DIRECTORY include/${PROJECT_NAME}/ + DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION} # FILES_MATCHING PATTERN "*.h" # PATTERN ".svn" EXCLUDE -# ) +) ## Mark other files for installation (e.g. launch and bag files, etc.) # install(FILES