Easier support for systems with tcmalloc_minimal installed.

This commit is contained in:
Seth Hall 2015-04-26 00:40:31 -04:00
parent fe94d9ed2f
commit da24fa40a5
2 changed files with 2 additions and 2 deletions

View file

@ -113,7 +113,7 @@ if (NOT DISABLE_PERFTOOLS)
find_package(GooglePerftools) find_package(GooglePerftools)
endif () endif ()
if (GOOGLEPERFTOOLS_FOUND) if (GOOGLEPERFTOOLS_FOUND OR TCMALLOC_FOUND)
set(HAVE_PERFTOOLS true) set(HAVE_PERFTOOLS true)
# Non-Linux systems may not be well-supported by gperftools, so # Non-Linux systems may not be well-supported by gperftools, so
# require explicit request from user to enable it in that case. # require explicit request from user to enable it in that case.

2
cmake

@ -1 +1 @@
Subproject commit 2fd35ab6a6245a005828c32f0aa87eb21698c054 Subproject commit 6406fb79d30df8d7956110ce65a97d18e4bc8c3b