diff --git a/Findasterx1_gps.cmake b/Findasterx1_gps.cmake index 18901d29fe51282cb580984d1c75f10e4b61e5ee..9390402dfad1554671980ea7ccee3672add5353b 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 1c53d098a1d85e3f4bc7f59377dcf9f3c9947569..a6ae593318667fed32fcd96e9315493bac209d5a 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)