From 4ce1f4ff9c428b143e47e39380c79e6686779c8f Mon Sep 17 00:00:00 2001
From: Sergi Hernandez Juan <shernand@iri.upc.edu>
Date: Mon, 23 Mar 2020 22:41:18 +0100
Subject: [PATCH] Changed the header file to look for to detect whether the
 library is installed or not.

---
 Finddarwin_robot.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Finddarwin_robot.cmake b/Finddarwin_robot.cmake
index 00e8932..90cdea4 100644
--- a/Finddarwin_robot.cmake
+++ b/Finddarwin_robot.cmake
@@ -1,5 +1,5 @@
 #edit the following line to add the librarie's header files
-FIND_PATH(darwin_robot_INCLUDE_DIR darwin_robot.h /usr/include/iridrivers /usr/local/include/iridrivers)
+FIND_PATH(darwin_robot_INCLUDE_DIR darwin_robot_base.h /usr/include/iridrivers /usr/local/include/iridrivers)
 
 FIND_LIBRARY(darwin_robot_LIBRARY
     NAMES darwin_robot
-- 
GitLab