mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-26 04:31:37 +08:00
release版本添加jemalloc库
This commit is contained in:
parent
a09016303b
commit
732e00ea63
@ -153,6 +153,15 @@ if(ENABLE_MP4RECORD)
|
|||||||
endif(WIN32)
|
endif(WIN32)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(${CMAKE_BUILD_TYPE} MATCHES "Release")
|
||||||
|
#查找jemalloc是否安装
|
||||||
|
find_package(JEMALLOC QUIET)
|
||||||
|
if(JEMALLOC_FOUND)
|
||||||
|
message(STATUS "found library:\"${JEMALLOC_LIBRARIES}\"")
|
||||||
|
include_directories(${JEMALLOC_INCLUDE_DIR})
|
||||||
|
list(APPEND LINK_LIB_LIST ${JEMALLOC_LIBRARIES})
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
list(APPEND LINK_LIB_LIST WS2_32 Iphlpapi shlwapi)
|
list(APPEND LINK_LIB_LIST WS2_32 Iphlpapi shlwapi)
|
||||||
|
Loading…
Reference in New Issue
Block a user