Skip to content

Commit

Permalink
Merge pull request #146 from Mouse-Imaging-Centre/develop-1.9.18
Browse files Browse the repository at this point in the history
fix zlib download url and hash due to deprecation
  • Loading branch information
vfonov authored Apr 25, 2022
2 parents d202dce + c7ebff4 commit 4a15cc2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmake-modules/BuildZLIB.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ macro(build_zlib install_prefix staging_prefix)

SET (ZLIB_VERSION_STRING 1.2)
SET (ZLIB_VERSION_MAJOR 1.2)
SET (ZLIB_VERSION_MINOR 11)
SET (ZLIB_VERSION_MINOR 12)

if(CMAKE_EXTRA_GENERATOR)
set(CMAKE_GEN "${CMAKE_EXTRA_GENERATOR} - ${CMAKE_GENERATOR}")
Expand Down Expand Up @@ -53,11 +53,11 @@ SET (ZLIB_VERSION_MINOR 11)
)
endif()

GET_PACKAGE("http://zlib.net/zlib-1.2.11.tar.gz" "1c9f62f0778697a09d36121ead88e08e" "zlib-1.2.11.tar.gz" ZLIB_PATH )
GET_PACKAGE("http://zlib.net/zlib-1.2.12.tar.gz" "5fc414a9726be31427b440b434d05f78" "zlib-1.2.12.tar.gz" ZLIB_PATH )

ExternalProject_Add(ZLIB
URL "${ZLIB_PATH}"
URL_MD5 "1c9f62f0778697a09d36121ead88e08e"
URL_MD5 "5fc414a9726be31427b440b434d05f78"
UPDATE_COMMAND ""
SOURCE_DIR ZLIB
BINARY_DIR ZLIB-build
Expand Down

0 comments on commit 4a15cc2

Please sign in to comment.