From 6f278bdf94a88053c47fab13b5ee6fd0ddf6b347 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Wed, 30 Oct 2019 16:10:22 +0100 Subject: [PATCH] Replace HINTS by PATHS --- cmake/Modules/FindGPSTK.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/Modules/FindGPSTK.cmake b/cmake/Modules/FindGPSTK.cmake index cf61cb2ff..abf26ebdb 100644 --- a/cmake/Modules/FindGPSTK.cmake +++ b/cmake/Modules/FindGPSTK.cmake @@ -27,7 +27,7 @@ if(NOT COMMAND feature_summary) endif() find_path(GPSTK_INCLUDE_DIR gpstk/Rinex3ObsBase.hpp - HINTS /usr/include + PATHS /usr/include /usr/local/include /opt/local/include ${GPSTK_ROOT}/include @@ -39,7 +39,7 @@ set(GPSTK_NAMES ${GPSTK_NAMES} gpstk libgpstk) include(GNUInstallDirs) find_library(GPSTK_LIBRARY NAMES ${GPSTK_NAMES} - HINTS /usr/lib + PATHS /usr/lib /usr/local/lib /usr/${CMAKE_INSTALL_LIBDIR} /usr/local/${CMAKE_INSTALL_LIBDIR}