From ee44ff3df0b2107be84719cbbfd99aa5ee4fa54f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergi=20Hern=C3=A1ndez?= <shernand@iri.upc.edu> Date: Tue, 28 Oct 2014 19:31:38 +0000 Subject: [PATCH] Added the Find cmake files for all the modules. --- src/robotis_bin_file/CMakeLists.txt | 1 + src/robotis_mtn/CMakeLists.txt | 1 + src/robotis_mtn_file/CMakeLists.txt | 1 + 3 files changed, 3 insertions(+) diff --git a/src/robotis_bin_file/CMakeLists.txt b/src/robotis_bin_file/CMakeLists.txt index 63160c6..f17c704 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 7e5a6aa..1f56b74 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 6004dc3..5e9ceb4 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) -- GitLab