feat(build): do not display WARNING message when tcmalloc is not found

This commit is contained in:
Leonardo de Moura 2014-09-17 15:22:03 -07:00
parent 26918022d8
commit 19148af7ae

View file

@ -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.")