summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2019-05-23 00:41:16 +0200
committerGitHub <noreply@github.com>2019-05-23 00:41:16 +0200
commit2f7b6ad5070635edefa87e0cff76d897e8df5cfb (patch)
tree8d9b288f403121620f128edc7a11f9b28de4ea96
parentca046360048e016f520ec216b73c95757473d84d (diff)
parent1f9b72225d8ef45b3831f81eac46492bbf5071ec (diff)
downloadlibgit2-2f7b6ad5070635edefa87e0cff76d897e8df5cfb.tar.gz
Merge pull request #5083 from libgit2/ethomson/pcre_warnings
cmake: disable fallthrough warnings for PCRE
-rw-r--r--deps/pcre/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/deps/pcre/CMakeLists.txt b/deps/pcre/CMakeLists.txt
index 432e774bb..aff2d751b 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