mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-05-20 00:04:09 +00:00
Fix detection of libgoogle-glog-dev
This commit is contained in:
parent
8058e59702
commit
5dec6e375b
@ -25,6 +25,11 @@ macro(_FIND_GLOG_LIBRARIES _var)
|
|||||||
find_library(${_var}
|
find_library(${_var}
|
||||||
NAMES ${ARGN}
|
NAMES ${ARGN}
|
||||||
PATHS ${LIB_PATHS} /opt/local/lib
|
PATHS ${LIB_PATHS} /opt/local/lib
|
||||||
|
/usr/lib/x86_64-linux-gnu
|
||||||
|
/usr/lib/i386-linux-gnu
|
||||||
|
/usr/lib/arm-linux-gnueabihf
|
||||||
|
/usr/lib/arm-linux-gnueabi
|
||||||
|
/usr/lib/aarch64-linux-gnu
|
||||||
PATH_SUFFIXES lib
|
PATH_SUFFIXES lib
|
||||||
)
|
)
|
||||||
mark_as_advanced(${_var})
|
mark_as_advanced(${_var})
|
||||||
@ -40,14 +45,14 @@ endif()
|
|||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
find_path(GLOG_INCLUDE_DIR NAMES raw_logging.h
|
find_path(GLOG_INCLUDE_DIRS NAMES raw_logging.h
|
||||||
PATHS
|
PATHS
|
||||||
${GLOG_ROOT}/src/windows
|
${GLOG_ROOT}/src/windows
|
||||||
${GLOG_ROOT}/src/windows/glog
|
${GLOG_ROOT}/src/windows/glog
|
||||||
)
|
)
|
||||||
else(MSVC)
|
else(MSVC)
|
||||||
# Linux/OS X builds
|
# Linux/OS X builds
|
||||||
find_path(GLOG_INCLUDE_DIR NAMES raw_logging.h
|
find_path(GLOG_INCLUDE_DIRS NAMES raw_logging.h
|
||||||
PATHS
|
PATHS
|
||||||
${GLOG_ROOT}/include/glog
|
${GLOG_ROOT}/include/glog
|
||||||
/opt/local/include/glog # default location in Macports
|
/opt/local/include/glog # default location in Macports
|
||||||
|
Loading…
x
Reference in New Issue
Block a user