Cleanup: quiet redefined warning in GLOG
This commit is contained in:
parent
8d26dda40c
commit
8b840eb896
5
extern/glog/CMakeLists.txt
vendored
5
extern/glog/CMakeLists.txt
vendored
@ -48,6 +48,11 @@ set(SRC
|
||||
set(LIB
|
||||
)
|
||||
|
||||
# Suppress warnings as GLOG has it's own define.
|
||||
if(HAVE_EXECINFO_H)
|
||||
remove_definitions(-DHAVE_EXECINFO_H)
|
||||
endif()
|
||||
|
||||
if(NOT WITH_SYSTEM_GFLAGS)
|
||||
list(APPEND LIB
|
||||
extern_gflags
|
||||
|
Loading…
Reference in New Issue
Block a user