mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 05:22:25 +01:00
Merge 56267 into 5.5-bugteam.
This commit is contained in:
commit
fdadaf0783
1 changed files with 4 additions and 5 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue