1 --- ceph-13.2.10/cmake/modules/Findgperftools.cmake.orig 2020-01-30 21:52:36.000000000 +0100
2 +++ ceph-13.2.10/cmake/modules/Findgperftools.cmake 2020-05-28 17:05:49.948032294 +0200
3 @@ -31,7 +31,7 @@ if(Tcmalloc_INCLUDE_DIR AND EXISTS "${Tc
7 -foreach(component tcmalloc tcmalloc_minimal profiler)
8 +foreach(component tcmalloc tcmalloc_minimal)
9 string(TOUPPER ${component} COMPONENT)
10 find_library(GPERFTOOLS_${COMPONENT}_LIBRARY ${component}
11 HINTS $ENV{GPERF_ROOT}/lib)
12 @@ -40,7 +40,7 @@ endforeach()
14 include(FindPackageHandleStandardArgs)
15 find_package_handle_standard_args(gperftools
16 - REQUIRED_VARS ${GPERFTOOLS_LIBRARIES} GPERFTOOLS_INCLUDE_DIR
17 + REQUIRED_VARS ${GPERFTOOLS_LIBRARIES} Tcmalloc_INCLUDE_DIR
18 VERSION_VAR TCMALLOC_VERSION_STRING)
20 -mark_as_advanced(${GPERFTOOLS_LIBRARIES} GPERFTOOLS_INCLUDE_DIR)
21 +mark_as_advanced(${GPERFTOOLS_LIBRARIES} Tcmalloc_INCLUDE_DIR)