commit 186c9a0: [Minor] Never use pkg-config for jemalloc - it breaks things

Vsevolod Stakhov vsevolod at highsecure.ru
Tue Apr 2 14:00:03 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-04-02 14:57:40 +0100
URL: https://github.com/rspamd/rspamd/commit/186c9a09975de2644e3674a43f6dbb28bc0159c8 (HEAD -> master)

[Minor] Never use pkg-config for jemalloc - it breaks things

---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index b0de490dc..25f523fa1 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()


More information about the Commits mailing list