  	IF(ZLIB_FOUND)
  		LIST(APPEND LIBGIT2_SYSTEM_INCLUDES ${ZLIB_INCLUDE_DIRS})
  		LIST(APPEND LIBGIT2_LIBS ${ZLIB_LIBRARIES})
-@@ -347,7 +369,11 @@ ENDIF()
+@@ -347,7 +370,11 @@ ENDIF()
  
  # Optional external dependency: libssh2
  IF (USE_SSH)

 ENDIF()
 IF (LIBSSH2_FOUND)
 	SET(GIT_SSH 1)
@@ -520,11 +546,14 @@ IF (MSVC_IDE)
 ENDIF ()
 
 # Install

 	IF (ENABLE_REPRODUCIBLE_BUILDS)
 		SET(CMAKE_C_ARCHIVE_CREATE "<CMAKE_AR> Dqc <TARGET> <LINK_FLAGS> <OBJECTS>")
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 213dd79..6e071f8 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -19,11 +19,21 @@ SET(LIBGIT2_INCLUDES
