From e447e6c2057a5ab68fcbfe307249e54d2dadf017 Mon Sep 17 00:00:00 2001 From: Yasuhiro Kimura Date: Sun, 14 Nov 2021 17:18:09 +0900 Subject: [PATCH] Enable PCRE2 by default. There are 2 major versions of the PCRE library, PCRE and PCRE2. Rspamd supports both and current default is the former. But according to the web page of PCRE library it has reached its end of life. So change the default to the latter. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7af24c5ee..c4d788068 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -51,7 +51,7 @@ OPTION(INSTALL_WEBUI "Install web interface [default: ON]" OPTION(WANT_SYSTEMD_UNITS "Install systemd unit files on Linux [default: OFF]" OFF) OPTION(ENABLE_SNOWBALL "Enable snowball stemmer [default: ON]" ON) OPTION(ENABLE_CLANG_PLUGIN "Enable clang static analysing plugin [default: OFF]" OFF) -OPTION(ENABLE_PCRE2 "Enable pcre2 instead of pcre [default: OFF]" OFF) +OPTION(ENABLE_PCRE2 "Enable pcre2 instead of pcre [default: ON]" ON) OPTION(ENABLE_JEMALLOC "Build rspamd with jemalloc allocator [default: OFF]" OFF) OPTION(ENABLE_UTILS "Build rspamd internal utils [default: OFF]" OFF) OPTION(ENABLE_LIBUNWIND "Use libunwind to print crash traces [default: OFF]" OFF) -- 2.39.5