#At file:///home/kgeorge/mysql/work/wl1054-5.5/ based on revid:georgi.kodinov@stripped
3088 Georgi Kodinov 2010-10-04 [merge]
merge
modified:
scripts/CMakeLists.txt
=== modified file 'scripts/CMakeLists.txt'
--- a/scripts/CMakeLists.txt 2010-09-07 15:05:16 +0000
+++ b/scripts/CMakeLists.txt 2010-10-03 16:24:45 +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/georgi.kodinov@oracle.com-20101004152634-15rx0dztm4ywtg8z.bundle
| Thread |
|---|
| • bzr commit into mysql-5.5-bugteam branch (Georgi.Kodinov:3088) | Georgi Kodinov | 4 Oct |