Fix wrong message in tcmalloc detection code
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
16dc056abc
commit
a7a5426ff5
1 changed files with 3 additions and 1 deletions
|
@ -62,8 +62,10 @@ option(TCMALLOC "TCMALLOC" ON)
|
||||||
if("${TCMALLOC}" MATCHES "ON")
|
if("${TCMALLOC}" MATCHES "ON")
|
||||||
if(${TCMALLOC_FOUND})
|
if(${TCMALLOC_FOUND})
|
||||||
set(EXTRA_LIBS ${EXTRA_LIBS} ${TCMALLOC_LIBRARIES})
|
set(EXTRA_LIBS ${EXTRA_LIBS} ${TCMALLOC_LIBRARIES})
|
||||||
|
message(STATUS "Using tcmalloc.")
|
||||||
|
else()
|
||||||
|
message(WARNING "FAILED to find tcmalloc, using standard malloc.")
|
||||||
endif()
|
endif()
|
||||||
message(STATUS "Using tcmalloc.")
|
|
||||||
else()
|
else()
|
||||||
message(STATUS "Using standard malloc.")
|
message(STATUS "Using standard malloc.")
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue