Fix for TCMalloc being linked in wrongly on Linux
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user