Merge pull request #5083 from libgit2/ethomson/pcre_warnings cmake: disable fallthrough warnings for PCRE
diff --git a/deps/pcre/CMakeLists.txt b/deps/pcre/CMakeLists.txt
index 432e774..aff2d75 100644
--- a/deps/pcre/CMakeLists.txt
+++ b/deps/pcre/CMakeLists.txt
@@ -21,6 +21,7 @@ CHECK_TYPE_SIZE("long long" LONG_LONG)
CHECK_TYPE_SIZE("unsigned long long" UNSIGNED_LONG_LONG)
DISABLE_WARNINGS(unused-function)
+DISABLE_WARNINGS(implicit-fallthrough)
# User-configurable options