diff --git a/Findasterx1_gps.cmake b/Findasterx1_gps.cmake
index f4aee7259c7c06399cb412964a77465b015a691d..3ac4acec301e04d8bec47acdb7173b00933da959 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 475671151aca2d9f7b1f8a635098b9a5256aea9c..38f767320f53f90708f98ee9f1fe6f8a3960cef1 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