summaryrefslogtreecommitdiff
path: root/indra/cmake/GooglePerfTools.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'indra/cmake/GooglePerfTools.cmake')
-rw-r--r--indra/cmake/GooglePerfTools.cmake4
1 files changed, 1 insertions, 3 deletions
diff --git a/indra/cmake/GooglePerfTools.cmake b/indra/cmake/GooglePerfTools.cmake
index 0ac67fe595..133ae14d2f 100644
--- a/indra/cmake/GooglePerfTools.cmake
+++ b/indra/cmake/GooglePerfTools.cmake
@@ -4,9 +4,6 @@ include(Prebuilt)
if (STANDALONE)
include(FindGooglePerfTools)
else (STANDALONE)
- if(NOT DARWIN)
- use_prebuilt_binary(google)
- endif()
if (WINDOWS)
use_prebuilt_binary(google-perftools)
set(TCMALLOC_LIBRARIES
@@ -15,6 +12,7 @@ else (STANDALONE)
set(GOOGLE_PERFTOOLS_FOUND "YES")
endif (WINDOWS)
if (LINUX)
+ use_prebuilt_binary(google)
set(TCMALLOC_LIBRARIES tcmalloc)
set(STACKTRACE_LIBRARIES stacktrace)
set(PROFILER_LIBRARIES profiler)