From 1b24832a4442e4f13e5a408819c78e8993b4aff1 Mon Sep 17 00:00:00 2001 From: xia-chu <771730766@qq.com> Date: Thu, 4 Feb 2021 17:59:53 +0800 Subject: [PATCH] =?UTF-8?q?release=E7=BC=96=E8=AF=91=E4=B8=8D=E5=86=8D?= =?UTF-8?q?=E9=93=BE=E6=8E=A5jemalloc(=E5=AE=9E=E6=B5=8B=E5=8F=91=E7=8E=B0?= =?UTF-8?q?=E4=BD=BF=E7=94=A8jemalloc=E5=90=8E=E6=80=A7=E8=83=BD=E9=99=8D?= =?UTF-8?q?=E4=BD=8E)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CMakeLists.txt | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 545a4d9d..d610d834 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -95,16 +95,6 @@ if (FAAC_FOUND AND ENABLE_FAAC) list(APPEND LINK_LIB_LIST ${FAAC_LIBRARIES}) 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() - #set(VS_FALGS "/wd4819 /wd4996 /wd4018 /wd4267 /wd4244 /wd4101 /wd4828 /wd4309 /wd4573 /wd4996" ) set(VS_FALGS "/wd4819" )