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()