1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-11-04 01:03:04 +00:00

Finding Gflags and Glog if they are installed with Macports. Fixing

problems finding Gperftools libraries
This commit is contained in:
Carles Fernandez
2014-05-11 14:50:57 +02:00
parent 872ed26527
commit 53b227a0c1
3 changed files with 9 additions and 9 deletions

View File

@@ -23,12 +23,9 @@ endif(MSVC)
macro(_FIND_GLOG_LIBRARIES _var)
find_library(${_var}
NAMES
${ARGN}
PATHS
${LIB_PATHS}
PATH_SUFFIXES
lib
NAMES ${ARGN}
PATHS ${LIB_PATHS} /opt/local/lib
PATH_SUFFIXES lib
)
mark_as_advanced(${_var})
endmacro()
@@ -53,6 +50,7 @@ else(MSVC)
find_path(GLOG_INCLUDE_DIR NAMES raw_logging.h
PATHS
${GLOG_ROOT}/include/glog
/opt/local/include/glog # default location in Macports
)
endif(MSVC)