aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeOptions.txt
diff options
context:
space:
mode:
authorJoão Valverde <j@v6e.pt>2021-10-15 18:34:33 +0100
committerJoão Valverde <j@v6e.pt>2021-11-14 21:00:59 +0000
commited8a02af172200c037a3ddf3d63eea9c2f587957 (patch)
treebf54b5e8115f7f4892165952a639981d3a0beb45 /CMakeOptions.txt
parent6630fd52608ca31350798567f9fafcb24532adc8 (diff)
dfilter: Add support for PCRE2
PCRE2 is the future of PCRE. The only advantage of GRegex is that it comes bundled with GLib, which is not an advantage at all. PCRE2 is widely available, the GRegex abstractions layer are not a good fit and abstract things that don't need abstracting or that we could handle better ourselves, there are open bugs (#12997) and maintenance is spotty at best. GRegex comes with many of the problems of bundled code, aggravated by the fact that it completely falls outside of our control.
Diffstat (limited to 'CMakeOptions.txt')
-rw-r--r--CMakeOptions.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeOptions.txt b/CMakeOptions.txt
index 25cd8fe6f3..286daa5c92 100644
--- a/CMakeOptions.txt
+++ b/CMakeOptions.txt
@@ -97,6 +97,7 @@ option(ENABLE_NGHTTP2 "Build with HTTP/2 header decompression support" ON)
option(ENABLE_LUA "Build with Lua dissector support" ON)
option(ENABLE_SMI "Build with libsmi snmp support" ON)
option(ENABLE_GNUTLS "Build with RSA decryption support" ON)
+option(ENABLE_PCRE2 "Build with regular expression support" ON)
if(WIN32)
option(ENABLE_WINSPARKLE "Enable automatic updates using WinSparkle" ON)
endif()