From 39ed10ed8fbc506845adb0b44b6ba40a8447b672 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 7 Mar 2019 13:04:15 +0000 Subject: [Minor] Search for libjemalloc_pic first --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 7ab6f7c56..92caae757 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -627,7 +627,7 @@ ELSE(ENABLE_LUAJIT MATCHES "ON") ENDIF(ENABLE_LUAJIT MATCHES "ON") IF(ENABLE_JEMALLOC MATCHES "ON") - ProcessPackage(JEMALLOC LIBRARY jemalloc INCLUDE jemalloc.h INCLUDE_SUFFIXES include/jemalloc + ProcessPackage(JEMALLOC LIBRARY jemalloc_pic jemalloc INCLUDE jemalloc.h INCLUDE_SUFFIXES include/jemalloc ROOT ${JEMALLOC_ROOT_DIR} MODULES jemalloc) SET(WITH_JEMALLOC "1") LIST(APPEND RSPAMD_REQUIRED_LIBRARIES "-lpthread") -- cgit v1.2.3