diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-03-07 13:04:15 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-03-07 13:05:15 +0000 |
commit | 39ed10ed8fbc506845adb0b44b6ba40a8447b672 (patch) | |
tree | 0553ea3faeeb63a7d6750d3fcf8724a80d6651b8 /CMakeLists.txt | |
parent | bf96ab19648fef6cc4dd795207a94f032f82b656 (diff) | |
download | rspamd-39ed10ed8fbc506845adb0b44b6ba40a8447b672.tar.gz rspamd-39ed10ed8fbc506845adb0b44b6ba40a8447b672.zip |
[Minor] Search for libjemalloc_pic first
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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") |