mirror of
https://github.com/gperftools/gperftools
synced 2025-02-17 20:56:53 +00:00
added missing large alloc report option in cmake
This commit is contained in:
parent
eeb25dd2a5
commit
9c2028ae50
@ -459,6 +459,12 @@ if(LINUX)
|
||||
HAVE_LINUX_SIGEV_THREAD_ID)
|
||||
endif()
|
||||
|
||||
# Disable large allocation report by default.
|
||||
option(gperftools_enable_large_alloc_report
|
||||
"Report very large allocations to stderr"
|
||||
OFF)
|
||||
set(ENABLE_LARGE_ALLOC_REPORT ${gperftools_enable_large_alloc_report})
|
||||
|
||||
configure_file(cmake/config.h.in ${CMAKE_CURRENT_BINARY_DIR}/config.h @ONLY)
|
||||
configure_file(cmake/tcmalloc.h.in
|
||||
${CMAKE_CURRENT_BINARY_DIR}/gperftools/tcmalloc.h
|
||||
|
Loading…
Reference in New Issue
Block a user