summaryrefslogtreecommitdiff
path: root/deps
diff options
context:
space:
mode:
authorlhchavez <lhchavez@lhchavez.com>2019-01-06 08:29:56 -0800
committerlhchavez <lhchavez@lhchavez.com>2019-01-06 08:29:56 -0800
commitb5e8272fdcab4e7f238a72d0b9c9fc9c753fd381 (patch)
tree413dcc28a6d67e6301028e2b77ca316c620efff7 /deps
parent7b453e7e39c6e27d63be0922a153e1cb47f33218 (diff)
downloadlibgit2-b5e8272fdcab4e7f238a72d0b9c9fc9c753fd381.tar.gz
Attempt at fixing the MingW64 compilation
It seems like MingW64's size_t is defined differently than in Linux.
Diffstat (limited to 'deps')
-rw-r--r--deps/zlib/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/deps/zlib/CMakeLists.txt b/deps/zlib/CMakeLists.txt
index b0cb7f7ea..afa5a19af 100644
--- a/deps/zlib/CMakeLists.txt
+++ b/deps/zlib/CMakeLists.txt
@@ -1,3 +1,4 @@
+DISABLE_WARNINGS(implicit-fallthrough)
ADD_DEFINITIONS(-DNO_VIZ -DSTDC -DNO_GZIP)
FILE(GLOB SRC_ZLIB "*.c" "*.h")
INCLUDE_DIRECTORIES(".")