From da24fa40a5d3b3a60f0e7058c64663945c4cc8db Mon Sep 17 00:00:00 2001 From: Seth Hall Date: Sun, 26 Apr 2015 00:40:31 -0400 Subject: [PATCH] Easier support for systems with tcmalloc_minimal installed. --- CMakeLists.txt | 2 +- cmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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