#At file:///MySQL/REPO/Vtu/bug56267-trunk/ based on revid:alik@stripped
3282 Joerg Bruehe 2010-10-04 [merge]
Auto-upmerge the 56267 fix from 5.5 to "trunk".
modified:
scripts/CMakeLists.txt
=== modified file 'scripts/CMakeLists.txt'
--- a/scripts/CMakeLists.txt 2010-09-13 10:26:57 +0000
+++ b/scripts/CMakeLists.txt 2010-10-04 14:58:50 +0000
@@ -81,12 +81,11 @@ INSTALL(FILES
)
# TCMalloc hacks
-IF($ENV{MALLOC_LIB})
- SET(MALLOC_LIB $ENV{MALLOC_LIB} CACHE STRING "malloc library")
-ENDIF()
-
IF(MALLOC_LIB)
- INSTALL(FILES ${MALLOC_LIB} DESTINATION lib OPTIONAL)
+ MESSAGE("Using tcmalloc '${MALLOC_LIB}'")
+ INSTALL(FILES ${MALLOC_LIB} DESTINATION ${INSTALL_LIBDIR} OPTIONAL)
+ELSE()
+ MESSAGE("No 'MALLOC_LIB' variable")
ENDIF()
IF(CMAKE_GENERATOR MATCHES "Makefiles")
Attachment: [text/bzr-bundle] bzr/joerg@mysql.com-20101004145850-sqrxkna9j82kuy90.bundle