Skip to content

Commit

Permalink
Fix the Install for Includes
Browse files Browse the repository at this point in the history
Fix the spacing for other installs
  • Loading branch information
mdhorn committed Jul 27, 2016
1 parent 97f2920 commit 32a337f
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions realsense_camera/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -96,26 +96,28 @@ add_dependencies(tests_rgbd_topics ${PROJECT_NAME}_generate_messages_cpp)
add_dependencies(tests_rgbd_topics ${catkin_EXPORTED_TARGETS})

# Install nodelet library
install(TARGETS ${PROJECT_NAME}_nodelet LIBRARY
DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
install(TARGETS ${PROJECT_NAME}_nodelet
ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)

# Install header files
install(DIRECTORY include/
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/include
install(DIRECTORY include/${PROJECT_NAME}/
DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
)

# Install launch files
install(DIRECTORY launch/
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/launch
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/launch
)

# Install rviz files
install(DIRECTORY rviz/
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/rviz
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/rviz
)

# Install xml files
install(FILES nodelet_plugins.xml
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
)

0 comments on commit 32a337f

Please sign in to comment.