Fix wrong message in tcmalloc detection code

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2013-09-19 23:36:57 -07:00
parent 16dc056abc
commit a7a5426ff5

View file

@ -62,8 +62,10 @@ option(TCMALLOC "TCMALLOC" ON)
if("${TCMALLOC}" MATCHES "ON")
if(${TCMALLOC_FOUND})
set(EXTRA_LIBS ${EXTRA_LIBS} ${TCMALLOC_LIBRARIES})
endif()
message(STATUS "Using tcmalloc.")
else()
message(WARNING "FAILED to find tcmalloc, using standard malloc.")
endif()
else()
message(STATUS "Using standard malloc.")
endif()