diff --git a/src/robotis_bin_file/CMakeLists.txt b/src/robotis_bin_file/CMakeLists.txt index 63160c67298e2298a8fb9d3f496ed0e8897e4ee8..f17c70412587bf76b55be120ef7959949b149d3d 100644 --- a/src/robotis_bin_file/CMakeLists.txt +++ b/src/robotis_bin_file/CMakeLists.txt @@ -19,4 +19,5 @@ INSTALL(TARGETS robotis_bin_parser LIBRARY DESTINATION lib ARCHIVE DESTINATION lib) INSTALL(FILES ${headers} DESTINATION include) +INSTALL(FILES ../Findrobotis_bin_parser.cmake DESTINATION ${CMAKE_ROOT}/Modules/) ADD_SUBDIRECTORY(examples) diff --git a/src/robotis_mtn/CMakeLists.txt b/src/robotis_mtn/CMakeLists.txt index 7e5a6aae822a80d63f9472bcc66ada7ab83b356a..1f56b74a06ec0c5fa593dfd4e4b0313d472737f9 100644 --- a/src/robotis_mtn/CMakeLists.txt +++ b/src/robotis_mtn/CMakeLists.txt @@ -13,4 +13,5 @@ INSTALL(TARGETS robotis_mtn LIBRARY DESTINATION lib ARCHIVE DESTINATION lib) INSTALL(FILES ${headers} DESTINATION include) +INSTALL(FILES ../Findrobotis_mtn.cmake DESTINATION ${CMAKE_ROOT}/Modules/) ADD_SUBDIRECTORY(examples) diff --git a/src/robotis_mtn_file/CMakeLists.txt b/src/robotis_mtn_file/CMakeLists.txt index 6004dc34912f75f4d6d91a88296a697318989d4d..5e9ceb436fd1bc76dfe5134e1ef005350fc8033e 100644 --- a/src/robotis_mtn_file/CMakeLists.txt +++ b/src/robotis_mtn_file/CMakeLists.txt @@ -45,5 +45,6 @@ INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/mtn_parser.hpp DESTINATION include) INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/location.hh DESTINATION include) INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/position.hh DESTINATION include) INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/stack.hh DESTINATION include) +INSTALL(FILES ../Findrobotis_mtn_parser.cmake DESTINATION ${CMAKE_ROOT}/Modules/) ADD_SUBDIRECTORY(examples)