mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-29 02:52:13 +00:00
11 lines
420 B
CMake
11 lines
420 B
CMake
|
if (USE_INTERNAL_GPERFTOOLS_LIBRARY)
|
||
|
set(GPERFTOOLS_INCLUDE_DIR "${ClickHouse_SOURCE_DIR}/contrib/libtcmalloc/include/")
|
||
|
set(GPERFTOOLS_TCMALLOC tcmalloc_minimal_internal)
|
||
|
include_directories (BEFORE ${GPERFTOOLS_INCLUDE_DIR})
|
||
|
else ()
|
||
|
find_package (Gperftools REQUIRED)
|
||
|
include_directories (${GPERFTOOLS_INCLUDE_DIR})
|
||
|
endif ()
|
||
|
|
||
|
message(STATUS "Using gperftools: ${GPERFTOOLS_INCLUDE_DIR} : ${GPERFTOOLS_TCMALLOC}")
|