From: Yasuhiro Kimura Date: Sun, 14 Nov 2021 08:18:09 +0000 (+0900) Subject: Enable PCRE2 by default. X-Git-Tag: 3.2~263^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F3978%2Fhead;p=thirdparty%2Frspamd.git 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. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 7af24c5eef..c4d7880689 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)