]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Never use pkg-config for jemalloc - it breaks things
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 2 Apr 2019 13:57:40 +0000 (14:57 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 2 Apr 2019 13:57:40 +0000 (14:57 +0100)
CMakeLists.txt

index b0de490dc5a434753254f35a5370731f1f775af7..25f523fa190c60332b4461306a3d316c1653c012 100644 (file)
@@ -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()