From: Vsevolod Stakhov Date: Tue, 2 Apr 2019 13:57:40 +0000 (+0100) Subject: [Minor] Never use pkg-config for jemalloc - it breaks things X-Git-Tag: 1.9.1~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=186c9a09975de2644e3674a43f6dbb28bc0159c8;p=thirdparty%2Frspamd.git [Minor] Never use pkg-config for jemalloc - it breaks things --- diff --git a/CMakeLists.txt b/CMakeLists.txt index b0de490dc5..25f523fa19 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -628,7 +628,7 @@ ENDIF(ENABLE_LUAJIT MATCHES "ON") IF(ENABLE_JEMALLOC MATCHES "ON") ProcessPackage(JEMALLOC LIBRARY jemalloc_pic jemalloc INCLUDE jemalloc.h INCLUDE_SUFFIXES include/jemalloc - ROOT ${JEMALLOC_ROOT_DIR} MODULES jemalloc) + ROOT ${JEMALLOC_ROOT_DIR}) SET(WITH_JEMALLOC "1") LIST(APPEND RSPAMD_REQUIRED_LIBRARIES "-lpthread") ENDIF()