#At file:///home/kgeorge/mysql/work/wl1054-trunk-merge/ based on revid:georgi.kodinov@stripped
3221 Georgi Kodinov 2010-10-04 [merge]
merge
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 15:27:31 +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-20101004152731-pocniymthutm9hl6.bundle
| Thread |
|---|
| • bzr commit into mysql-trunk-merge branch (Georgi.Kodinov:3221) | Georgi Kodinov | 4 Oct |