diff --git a/CMakeLists.txt b/CMakeLists.txt index 8f60ab95ad..2b1e060f77 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -113,7 +113,7 @@ if (NOT DISABLE_PERFTOOLS) find_package(GooglePerftools) endif () -if (GOOGLEPERFTOOLS_FOUND) +if (GOOGLEPERFTOOLS_FOUND OR TCMALLOC_FOUND) set(HAVE_PERFTOOLS true) # Non-Linux systems may not be well-supported by gperftools, so # require explicit request from user to enable it in that case. diff --git a/cmake b/cmake index 2fd35ab6a6..6406fb79d3 160000 --- a/cmake +++ b/cmake @@ -1 +1 @@ -Subproject commit 2fd35ab6a6245a005828c32f0aa87eb21698c054 +Subproject commit 6406fb79d30df8d7956110ce65a97d18e4bc8c3b