Skip to content

Commit

Permalink
CMake: Dependencies - update zlib and switch to github mirror (#3031)
Browse files Browse the repository at this point in the history
Co-authored-by: Pavel Rojtberg <[email protected]>
  • Loading branch information
theligero and paroj authored Feb 13, 2024
1 parent be02920 commit 7f07a3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMake/Dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,9 @@ if(OGRE_BUILD_DEPENDENCIES AND NOT EXISTS ${OGREDEPS_PATH})
if(MSVC OR MINGW OR SKBUILD) # other platforms dont need this
message(STATUS "Building zlib") # only needed for Assimp
file(DOWNLOAD
https://www.zlib.net/zlib-1.3.tar.gz
https://github.com/madler/zlib/releases/download/v1.3.1/zlib-1.3.1.tar.gz
${PROJECT_BINARY_DIR}/zlib-1.3.tar.gz
EXPECTED_HASH SHA256=ff0ba4c292013dbc27530b3a81e1f9a813cd39de01ca5e0f8bf355702efa593e)
EXPECTED_HASH SHA256=9a93b2b7dfdac77ceba5a558a580e74667dd6fede4585b91eefb60f03b72df23)
execute_process(COMMAND ${CMAKE_COMMAND}
-E tar xf zlib-1.3.tar.gz WORKING_DIRECTORY ${PROJECT_BINARY_DIR})
execute_process(COMMAND ${BUILD_COMMAND_COMMON}
Expand Down

0 comments on commit 7f07a3e

Please sign in to comment.