update install destination in CMakeLists.txt (#23)

* use c++11 if supported

* Correct binary locations for shared libraries.

* update install command, add comment (#3)

* remove check_cxx_compiler_flag check
This commit is contained in:
James Xu 2019-04-05 13:48:34 -07:00 committed by Chris Lalancette
parent 4454445f4e
commit e1b4b1e72e
1 changed files with 5 additions and 1 deletions

View File

@ -83,8 +83,12 @@ endif()
if(catkin_FOUND)
# How does CATKIN do this?
#rosbuild_add_rostest(${PROJECT_SOURCE_DIR}/test/test_kdl_parser.launch)
# Install library
install(TARGETS ${PROJECT_NAME}
DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION})
ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
RUNTIME DESTINATION ${CATKIN_GLOBAL_BIN_DESTINATION})
install(DIRECTORY include/${PROJECT_NAME}/
DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION})