]>
Commit | Line | Data |
---|---|---|
d8321c07 JB |
1 | --- ceph-14.2.22/cmake/modules/Findgperftools.cmake.orig 2020-01-30 21:52:36.000000000 +0100 |
2 | +++ ceph-14.2.22/cmake/modules/Findgperftools.cmake 2020-05-28 17:05:49.948032294 +0200 | |
f7926bf0 JB |
3 | @@ -31,7 +31,7 @@ if(Tcmalloc_INCLUDE_DIR AND EXISTS "${Tc |
4 | endif() | |
5 | endif() | |
1b11728e JB |
6 | |
7 | -foreach(component tcmalloc tcmalloc_minimal profiler) | |
8 | +foreach(component tcmalloc tcmalloc_minimal) | |
9 | string(TOUPPER ${component} COMPONENT) | |
f7926bf0 JB |
10 | find_library(GPERFTOOLS_${COMPONENT}_LIBRARY ${component} |
11 | HINTS $ENV{GPERF_ROOT}/lib) | |
d8321c07 JB |
12 | @@ -54,7 +54,7 @@ find_package_handle_standard_args(gperft |
13 | REQUIRED_VARS ${_gperftools_FIND_REQUIRED_VARS} | |
f7926bf0 | 14 | VERSION_VAR TCMALLOC_VERSION_STRING) |
1b11728e | 15 | |
f7926bf0 | 16 | -mark_as_advanced(${GPERFTOOLS_LIBRARIES} GPERFTOOLS_INCLUDE_DIR) |
d8321c07 JB |
17 | +mark_as_advanced(${GPERFTOOLS_LIBRARIES} GPERFTOOLS_INCLUDE_DIR Tcmalloc_INCLUDE_DIR) |
18 | ||
19 | if(gperftools_FOUND) | |
20 | foreach(component tcmalloc tcmalloc_minimal profiler) |