From 1a00cb2e99dd38d82dfac09bee6221973fc95c33 Mon Sep 17 00:00:00 2001
From: Alopez <alopez@iri.upc.edu>
Date: Mon, 26 Aug 2019 13:40:50 +0200
Subject: [PATCH] Adapted to the new installation directories

---
 Findasterx1_gps.cmake     | 4 ++--
 Findasterx1_process.cmake | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Findasterx1_gps.cmake b/Findasterx1_gps.cmake
index 18901d2..9390402 100644
--- a/Findasterx1_gps.cmake
+++ b/Findasterx1_gps.cmake
@@ -1,9 +1,9 @@
 #edit the following line to add the librarie's header files
-FIND_PATH(asterx1_gps_INCLUDE_DIR asterx1_gps.h asterx1exceptions.h stream_gps.h gps_types.h /usr/include/iridrivers /usr/local/include/iridrivers)
+FIND_PATH(asterx1_gps_INCLUDE_DIR asterx1_gps.h asterx1exceptions.h stream_gps.h gps_types.h /usr/local/include/iri/asterx1_gps /usr/include/iri/asterx1_gps)
 
 FIND_LIBRARY(asterx1_gps_LIBRARY
     NAMES asterx1_gps
-    PATHS /usr/lib /usr/local/lib /usr/local/lib/iridrivers) 
+    PATHS /usr/local/lib/iri/asterx1_gps /usr/lib/iri/asterx1_gps) 
 
 IF (asterx1_gps_INCLUDE_DIR AND asterx1_gps_LIBRARY)
    SET(asterx1_gps_FOUND TRUE)
diff --git a/Findasterx1_process.cmake b/Findasterx1_process.cmake
index 1c53d09..a6ae593 100644
--- a/Findasterx1_process.cmake
+++ b/Findasterx1_process.cmake
@@ -1,9 +1,9 @@
 #edit the following line to add the librarie's header files
-FIND_PATH(asterx1_process_INCLUDE_DIR asterx1_process.h gps_types.h /usr/include/iridrivers /usr/local/include/iridrivers)
+FIND_PATH(asterx1_process_INCLUDE_DIR asterx1_process.h gps_types.h /usr/local/include/iri/asterx1_gps /usr/include/iri/asterx1_gps)
 
 FIND_LIBRARY(asterx1_process_LIBRARY
     NAMES asterx1_process
-    PATHS /usr/lib /usr/local/lib /usr/local/lib/iridrivers) 
+    PATHS /usr/local/lib/iri/asterx1_gps /usr/lib/iri/asterx1_gps) 
 
 IF (asterx1_process_INCLUDE_DIR AND asterx1_process_LIBRARY)
    SET(asterx1_process_FOUND TRUE)
-- 
GitLab