Skip to content

Commit

Permalink
[CMake/Catkin] fetch_gazebo install headers (#43)
Browse files Browse the repository at this point in the history
catkin_make_isolated --install would fail because we were not installing the header files

This fixes #42
  • Loading branch information
moriarty authored Mar 17, 2019
1 parent 1dad4c8 commit 13fe270
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions fetch_gazebo/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,15 @@ target_link_libraries(fetch_gazebo_plugin

install(
TARGETS fetch_gazebo_plugin
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}
FILES_MATCHING PATTERN "*.h"
)

install(
Expand Down

0 comments on commit 13fe270

Please sign in to comment.