1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-01-27 09:24:52 +00:00

Replace HINTS by PATHS

This commit is contained in:
Carles Fernandez 2019-10-30 21:31:41 +01:00
parent d14111c85d
commit ef8c03cd8c
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
3 changed files with 8 additions and 8 deletions

View File

@ -48,7 +48,7 @@ if(APPLE)
else() else()
find_path(GFlags_ROOT_DIR find_path(GFlags_ROOT_DIR
libgflags.so libgflags.so
HINTS PATHS
/usr/lib /usr/lib
/usr/lib64 /usr/lib64
/usr/lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu
@ -89,7 +89,7 @@ if(GFlags_ROOT_DIR)
# We are testing only a couple of files in the include directories # We are testing only a couple of files in the include directories
find_path(GFlags_INCLUDE_DIRS find_path(GFlags_INCLUDE_DIRS
gflags/gflags.h gflags/gflags.h
HINTS PATHS
/usr/include /usr/include
/usr/local/include /usr/local/include
/opt/local/include /opt/local/include

View File

@ -46,7 +46,7 @@ endif()
find_library(GPERFTOOLS_TCMALLOC find_library(GPERFTOOLS_TCMALLOC
NAMES tcmalloc NAMES tcmalloc
HINTS /usr/lib PATHS /usr/lib
/usr/lib64 /usr/lib64
/usr/local/lib /usr/local/lib
/usr/local/lib64 /usr/local/lib64
@ -61,7 +61,7 @@ find_library(GPERFTOOLS_TCMALLOC
find_library(GPERFTOOLS_PROFILER find_library(GPERFTOOLS_PROFILER
NAMES profiler NAMES profiler
HINTS /usr/lib PATHS /usr/lib
/usr/lib64 /usr/lib64
/usr/local/lib /usr/local/lib
/usr/local/lib64 /usr/local/lib64
@ -75,7 +75,7 @@ find_library(GPERFTOOLS_PROFILER
find_library(GPERFTOOLS_TCMALLOC_AND_PROFILER find_library(GPERFTOOLS_TCMALLOC_AND_PROFILER
NAMES tcmalloc_and_profiler NAMES tcmalloc_and_profiler
HINTS /usr/lib PATHS /usr/lib
/usr/lib64 /usr/lib64
${Gperftools_ROOT_DIR}/lib ${Gperftools_ROOT_DIR}/lib
${GPERFTOOLS_ROOT}/lib ${GPERFTOOLS_ROOT}/lib
@ -89,7 +89,7 @@ find_library(GPERFTOOLS_TCMALLOC_AND_PROFILER
find_path(GPERFTOOLS_INCLUDE_DIR find_path(GPERFTOOLS_INCLUDE_DIR
NAMES gperftools/heap-profiler.h NAMES gperftools/heap-profiler.h
HINTS /usr/include PATHS /usr/include
/usr/local/include /usr/local/include
/opt/local/include /opt/local/include
${Gperftools_ROOT_DIR}/include ${Gperftools_ROOT_DIR}/include

View File

@ -69,7 +69,7 @@ endif()
# Look for the header file. # Look for the header file.
find_path(MATIO_INCLUDE_DIR find_path(MATIO_INCLUDE_DIR
NAMES matio.h NAMES matio.h
HINTS PATHS
/usr/include /usr/include
/usr/local/include /usr/local/include
/opt/local/include /opt/local/include
@ -81,7 +81,7 @@ find_path(MATIO_INCLUDE_DIR
# Look for the library. # Look for the library.
find_library(MATIO_LIBRARY find_library(MATIO_LIBRARY
NAMES matio NAMES matio
HINTS PATHS
/usr/lib /usr/lib
/usr/lib64 /usr/lib64
/usr/lib/alpha-linux-gnu /usr/lib/alpha-linux-gnu