From 3cab3fdf3679e9b2afbad93b549a7b9026be224d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sergi=20Hern=C3=A1ndez?= <shernand@iri.upc.edu>
Date: Tue, 16 Aug 2016 12:47:36 +0200
Subject: [PATCH] Solved a bug in the headers installation. Both arm and leg
 kinematics headers were not installed due to an error in the CMakeLists.txt
 file.

---
 src/CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index f368578..52c0d68 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -77,7 +77,7 @@ INSTALL(FILES ${robot_headers} DESTINATION include/iridrivers)
 INSTALL(FILES ${DARWIN_FW_PATH}/include/darwin_registers.h DESTINATION include/iridrivers)
 INSTALL(FILES ${DARWIN_FW_PATH}/include/action_id.h DESTINATION include/iridrivers)
 IF(KDL_FOUND)
-  INSTALL(FILES ${kin_arm_heders} DESTINATION include/iridrivers)
+  INSTALL(FILES ${kin_arm_headers} DESTINATION include/iridrivers)
   INSTALL(TARGETS darwin_arm_kinematics
           RUNTIME DESTINATION bin
           LIBRARY DESTINATION lib/iridrivers
@@ -85,7 +85,7 @@ IF(KDL_FOUND)
   INSTALL(FILES ../Finddarwin_arm_kinematics.cmake DESTINATION ${CMAKE_ROOT}/Modules/)
 ENDIF(KDL_FOUND)
 IF(EIGEN3_FOUND)
-  INSTALL(FILES ${kin_leg_heders} DESTINATION include/iridrivers)
+  INSTALL(FILES ${kin_leg_headers} DESTINATION include/iridrivers)
   INSTALL(TARGETS darwin_leg_kinematics
           RUNTIME DESTINATION bin
           LIBRARY DESTINATION lib/iridrivers
-- 
GitLab