diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-07-24 13:34:10 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-07-24 20:33:33 +0100 |
commit | 1a634c3d5103c9deb6f5fe1c236b5719995f8d11 (patch) | |
tree | fa2b665bc2bc8a88880d3c00c516d4645a5f5cff /CMakeLists.txt | |
parent | 9dbae7439d0c01c29566fc0df2cf59c5e5e1aed7 (diff) | |
download | rspamd-1a634c3d5103c9deb6f5fe1c236b5719995f8d11.tar.gz rspamd-1a634c3d5103c9deb6f5fe1c236b5719995f8d11.zip |
[Project] Detect memrchr in systems that supports it
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0af33f1fe..b794b9dbd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -345,6 +345,7 @@ CHECK_SYMBOL_EXISTS(getaddrinfo "sys/types.h;sys/socket.h;netdb.h" HAVE_GETADDRI CHECK_SYMBOL_EXISTS(sched_yield "sched.h" HAVE_SCHED_YIELD) CHECK_SYMBOL_EXISTS(__get_cpuid "cpuid.h" HAVE_GET_CPUID) CHECK_SYMBOL_EXISTS(nftw "sys/types.h;ftw.h" HAVE_NFTW) +CHECK_SYMBOL_EXISTS(memrchr "string.h" HAVE_MEMRCHR) IF(ENABLE_PCRE2 MATCHES "ON") LIST(APPEND CMAKE_REQUIRED_INCLUDES "${PCRE_INCLUDE}") CHECK_SYMBOL_EXISTS(PCRE2_CONFIG_JIT "pcre2.h" HAVE_PCRE_JIT) |