feat(build): do not display WARNING message when tcmalloc is not found
This commit is contained in:
parent
26918022d8
commit
19148af7ae
1 changed files with 2 additions and 2 deletions
|
@ -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.")
|
||||
|
|
Loading…
Reference in a new issue