diff --git a/third_party/zlib/CMakeLists.txt b/third_party/zlib/CMakeLists.txt index c305edc161..d9fa681c1d 100644 --- a/third_party/zlib/CMakeLists.txt +++ b/third_party/zlib/CMakeLists.txt @@ -22,7 +22,7 @@ set( ExternalProject_Add(zlib- PREFIX ${CMAKE_CURRENT_BINARY_DIR} DOWNLOAD_DIR ${ARCHIVE_DIR} - URL https://zlib.net/zlib-1.2.11.tar.gz + URL https://sourceforge.net/projects/libpng/files/zlib/1.2.11/zlib-1.2.11.tar.gz URL_HASH SHA256=c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1 BUILD_BYPRODUCTS ${ZLIB_LIBRARIES} CONFIGURE_COMMAND ${CMAKE_COMMAND} -E env ${envs} ${CMAKE_CURRENT_BINARY_DIR}/src/zlib-/configure --static