summaryrefslogtreecommitdiff
path: root/indra/cmake/GooglePerfTools.cmake
diff options
context:
space:
mode:
authorAndrew A. de Laix <alain@lindenlab.com>2011-01-13 13:09:27 -0800
committerAndrew A. de Laix <alain@lindenlab.com>2011-01-13 13:09:27 -0800
commitb7637e58bef73abfced2721d6b697e47b2d9f622 (patch)
treec368a6176da42403cbf2cfca12e92333437950a8 /indra/cmake/GooglePerfTools.cmake
parent5d3e7c8e7e0f7173ef9f90a8ed155f564c2e0190 (diff)
mac buiding with autobuild and autobuild style packages (just say no to install.py)
Diffstat (limited to 'indra/cmake/GooglePerfTools.cmake')
-rw-r--r--indra/cmake/GooglePerfTools.cmake6
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/cmake/GooglePerfTools.cmake b/indra/cmake/GooglePerfTools.cmake
index 946fc6b375..0ac67fe595 100644
--- a/indra/cmake/GooglePerfTools.cmake
+++ b/indra/cmake/GooglePerfTools.cmake
@@ -4,7 +4,9 @@ include(Prebuilt)
if (STANDALONE)
include(FindGooglePerfTools)
else (STANDALONE)
- use_prebuilt_binary(google)
+ if(NOT DARWIN)
+ use_prebuilt_binary(google)
+ endif()
if (WINDOWS)
use_prebuilt_binary(google-perftools)
set(TCMALLOC_LIBRARIES
@@ -17,7 +19,7 @@ else (STANDALONE)
set(STACKTRACE_LIBRARIES stacktrace)
set(PROFILER_LIBRARIES profiler)
set(GOOGLE_PERFTOOLS_INCLUDE_DIR
- ${LIBS_PREBUILT_DIR}/${LL_ARCH_DIR}/include)
+ ${LIBS_PREBUILT_DIR}/include)
set(GOOGLE_PERFTOOLS_FOUND "YES")
endif (LINUX)
endif (STANDALONE)