summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2019-06-14 09:59:34 +0100
committerGitHub <noreply@github.com>2019-06-14 09:59:34 +0100
commitbed33a6f0fc218840ae90cb00e8eb0787dc6ba4e (patch)
treeadb4284344a5881931eb563cd438a15a7afb1f8b
parenta5ddae68f86b459ce53319c8af1e7b1ea7d21dd6 (diff)
parent358b7a9d1d4a18a7047f9e99fdd272259f7c5ab8 (diff)
downloadlibgit2-bed33a6f0fc218840ae90cb00e8eb0787dc6ba4e.tar.gz
Merge pull request #5112 from pks-t/pks/ntlmclient-implicit-fallthrough
deps: ntlmclient: disable implicit fallthrough warnings
-rw-r--r--deps/ntlmclient/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/deps/ntlmclient/CMakeLists.txt b/deps/ntlmclient/CMakeLists.txt
index 393257daf..c7d472da9 100644
--- a/deps/ntlmclient/CMakeLists.txt
+++ b/deps/ntlmclient/CMakeLists.txt
@@ -2,6 +2,8 @@ FILE(GLOB SRC_NTLMCLIENT "ntlm.c" "unicode_builtin.c" "util.c")
ADD_DEFINITIONS(-DNTLM_STATIC=1)
+DISABLE_WARNINGS(implicit-fallthrough)
+
IF (HTTPS_BACKEND STREQUAL "SecureTransport")
ADD_DEFINITIONS(-DCRYPT_COMMONCRYPTO)
SET(SRC_NTLMCLIENT_CRYPTO "crypt_commoncrypto.c")