From 19148af7aed05386db71b3be3f07f09dfde5ffb6 Mon Sep 17 00:00:00 2001 From: Leonardo de Moura Date: Wed, 17 Sep 2014 15:22:03 -0700 Subject: [PATCH] feat(build): do not display WARNING message when tcmalloc is not found --- src/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 7f6617763..80525960c 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -143,7 +143,7 @@ if("${JEMALLOC}" MATCHES "ON") message(STATUS "Using jemalloc.") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D HAS_JEMALLOC") else() - message(WARNING "FAILED to find jemalloc, will try tcmalloc and then standard malloc.") + message(STATUS "Failed to find jemalloc, will try tcmalloc and then standard malloc.") endif() endif() @@ -156,7 +156,7 @@ if(NOT "${JEMALLOC_FOUND}") message(STATUS "Using tcmalloc.") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D HAS_TCMALLOC") else() - message(WARNING "FAILED to find tcmalloc, using standard malloc.") + message(STATUS "Failed to find tcmalloc, using standard malloc.") endif() else() message(STATUS "Using standard malloc.")