diff --git a/dep/libgit2/CMakeLists.txt b/dep/libgit2/CMakeLists.txt index 62b83c4ff0..bbcc21416e 100644 --- a/dep/libgit2/CMakeLists.txt +++ b/dep/libgit2/CMakeLists.txt @@ -32,6 +32,8 @@ if(WIN32) CACHE BOOL "" FORCE) endif() +set(USE_BUNDLED_ZLIB ON CACHE BOOL "") + add_subdirectory(libgit2) # otherwise the zlib is not available in the src/git set(LIBGIT2_DEPENDENCY_OBJECTS ${LIBGIT2_DEPENDENCY_OBJECTS} PARENT_SCOPE)