regex: don't warn on unused functions PCRE includes compatibility functions that may go unused. Don't warn.
diff --git a/deps/pcre/CMakeLists.txt b/deps/pcre/CMakeLists.txt
index e9827c7..432e774 100644
--- a/deps/pcre/CMakeLists.txt
+++ b/deps/pcre/CMakeLists.txt
@@ -20,6 +20,8 @@ CHECK_FUNCTION_EXISTS(_strtoi64 HAVE__STRTOI64)
CHECK_TYPE_SIZE("long long" LONG_LONG)
CHECK_TYPE_SIZE("unsigned long long" UNSIGNED_LONG_LONG)
+DISABLE_WARNINGS(unused-function)
+
# User-configurable options
SET(SUPPORT_PCRE8 1)