diff options
Diffstat (limited to 'linden/indra/cmake/GooglePerfTools.cmake')
-rw-r--r-- | linden/indra/cmake/GooglePerfTools.cmake | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/linden/indra/cmake/GooglePerfTools.cmake b/linden/indra/cmake/GooglePerfTools.cmake index 9b3eca0..25e9f6d 100644 --- a/linden/indra/cmake/GooglePerfTools.cmake +++ b/linden/indra/cmake/GooglePerfTools.cmake | |||
@@ -19,10 +19,14 @@ if (GOOGLE_PERFTOOLS_FOUND) | |||
19 | set(USE_GOOGLE_PERFTOOLS ON CACHE BOOL "Build with Google PerfTools support.") | 19 | set(USE_GOOGLE_PERFTOOLS ON CACHE BOOL "Build with Google PerfTools support.") |
20 | endif (GOOGLE_PERFTOOLS_FOUND) | 20 | endif (GOOGLE_PERFTOOLS_FOUND) |
21 | 21 | ||
22 | # XXX Disable temporarily, until we have compilation issues on 64-bit | ||
23 | # Etch sorted. | ||
24 | set(USE_GOOGLE_PERFTOOLS OFF) | ||
25 | |||
22 | if (USE_GOOGLE_PERFTOOLS) | 26 | if (USE_GOOGLE_PERFTOOLS) |
23 | set(TCMALLOC_FLAG -DLL_USE_TCMALLOC=1) | 27 | set(TCMALLOC_FLAG -DLL_USE_TCMALLOC=1) |
24 | include_directories(${GOOGLE_PERFTOOLS_INCLUDE_DIR}) | 28 | include_directories(${GOOGLE_PERFTOOLS_INCLUDE_DIR}) |
25 | set(GOOGLE_PERFTOOLS_LIBRARIES ${TCMALLOC_LIBRARIES} ${STACKTRACE_LIBRARIES}) | 29 | set(GOOGLE_PERFTOOLS_LIBRARIES ${TCMALLOC_LIBRARIES} ${STACKTRACE_LIBRARIES} ${PROFILER_LIBRARIES}) |
26 | else (USE_GOOGLE_PERFTOOLS) | 30 | else (USE_GOOGLE_PERFTOOLS) |
27 | set(TCMALLOC_FLAG -ULL_USE_TCMALLOC) | 31 | set(TCMALLOC_FLAG -ULL_USE_TCMALLOC) |
28 | endif (USE_GOOGLE_PERFTOOLS) | 32 | endif (USE_GOOGLE_PERFTOOLS) |