From 8055d75868e1bcd89646923a4d0b6413320e0da4 Mon Sep 17 00:00:00 2001
From: Alopez <alopez@iri.upc.edu>
Date: Tue, 27 Aug 2019 14:11:46 +0200
Subject: [PATCH] FIXED:Adapted to CMake plural variables *_DIRS and
 *_LIBRARIES

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

diff --git a/Findasterx1_gps.cmake b/Findasterx1_gps.cmake
index f4aee72..3ac4ace 100644
--- a/Findasterx1_gps.cmake
+++ b/Findasterx1_gps.cmake
@@ -1,5 +1,5 @@
 #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/local/include/iri/asterx1_gps /usr/include/iri/asterx1_gps)
+FIND_PATH(asterx1_gps_INCLUDE_DIRS 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_LIBRARIES
     NAMES asterx1_gps
diff --git a/Findasterx1_process.cmake b/Findasterx1_process.cmake
index 4756711..38f7673 100644
--- a/Findasterx1_process.cmake
+++ b/Findasterx1_process.cmake
@@ -1,5 +1,5 @@
 #edit the following line to add the librarie's header files
-FIND_PATH(asterx1_process_INCLUDE_DIR asterx1_process.h gps_types.h /usr/local/include/iri/asterx1_gps /usr/include/iri/asterx1_gps)
+FIND_PATH(asterx1_process_INCLUDE_DIRS asterx1_process.h gps_types.h /usr/local/include/iri/asterx1_gps /usr/include/iri/asterx1_gps)
 
 FIND_LIBRARY(asterx1_process_LIBRARIES
     NAMES asterx1_process
-- 
GitLab