summaryrefslogtreecommitdiff
path: root/deps
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2019-05-22 12:47:04 +0200
committerEdward Thomson <ethomson@edwardthomson.com>2019-05-22 12:47:04 +0200
commit1f9b72225d8ef45b3831f81eac46492bbf5071ec (patch)
tree8d9b288f403121620f128edc7a11f9b28de4ea96 /deps
parentca046360048e016f520ec216b73c95757473d84d (diff)
downloadlibgit2-1f9b72225d8ef45b3831f81eac46492bbf5071ec.tar.gz
cmake: disable fallthrough warnings for PCREethomson/pcre_warnings
Our PCRE dependency has uncommented fallthroughs in switch statements. Turn off warnings for those in the PCRE code.
Diffstat (limited to 'deps')
-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