Fix for TCMalloc being linked in wrongly on Linux

This commit is contained in:
Siana Gearz
2011-07-06 00:12:02 +02:00
parent 715f112bad
commit c8e2bdb816

View File

@@ -24,11 +24,11 @@ else (STANDALONE)
endif (LINUX) endif (LINUX)
endif (STANDALONE) endif (STANDALONE)
if (GOOGLE_PERFTOOLS_FOUND) if (GOOGLE_PERFTOOLS_FOUND AND STANDALONE)
set(USE_GOOGLE_PERFTOOLS ON CACHE BOOL "Build with Google PerfTools support.") set(USE_GOOGLE_PERFTOOLS ON CACHE BOOL "Build with Google PerfTools support.")
else (GOOGLE_PERFTOOLS_FOUND) else ()
set(USE_GOOGLE_PERFTOOLS OFF) set(USE_GOOGLE_PERFTOOLS OFF)
endif (GOOGLE_PERFTOOLS_FOUND) endif ()
# XXX Disable temporarily, until we have compilation issues on 64-bit # XXX Disable temporarily, until we have compilation issues on 64-bit
# Etch sorted. # Etch sorted.