Switch to using zlib-ng stable.

zlib's CMake is just fucked up for far too long.
This commit is contained in:
Nathan Moinvaziri 2024-06-01 13:27:20 -07:00
parent 5aec551bf7
commit 0725402ff1

View File

@ -197,7 +197,7 @@ if(MZ_ZLIB)
set(PC_PRIVATE_DEPS "zlib") set(PC_PRIVATE_DEPS "zlib")
set(ZLIB_COMPAT ON) set(ZLIB_COMPAT ON)
elseif(MZ_FETCH_LIBS) elseif(MZ_FETCH_LIBS)
clone_repo(zlib https://github.com/madler/zlib master) clone_repo(zlib https://github.com/zlib-ng/zlib-ng stable)
# Don't automatically add all targets to the solution # Don't automatically add all targets to the solution
add_subdirectory(${ZLIB_SOURCE_DIR} ${ZLIB_BINARY_DIR} EXCLUDE_FROM_ALL) add_subdirectory(${ZLIB_SOURCE_DIR} ${ZLIB_BINARY_DIR} EXCLUDE_FROM_ALL)