From a7a5426ff5d0aa5558272037483793a3d047b025 Mon Sep 17 00:00:00 2001 From: Leonardo de Moura Date: Thu, 19 Sep 2013 23:36:57 -0700 Subject: [PATCH] Fix wrong message in tcmalloc detection code Signed-off-by: Leonardo de Moura --- src/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 06460a68f..83d4e7da3 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -62,8 +62,10 @@ option(TCMALLOC "TCMALLOC" ON) if("${TCMALLOC}" MATCHES "ON") if(${TCMALLOC_FOUND}) set(EXTRA_LIBS ${EXTRA_LIBS} ${TCMALLOC_LIBRARIES}) + message(STATUS "Using tcmalloc.") + else() + message(WARNING "FAILED to find tcmalloc, using standard malloc.") endif() - message(STATUS "Using tcmalloc.") else() message(STATUS "Using standard malloc.") endif()