move zlib download back to src dir

develop
Myk Taylor 2023-05-24 03:04:33 -07:00
parent aa3ca94de4
commit 9aecedb9e2
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
2 changed files with 3 additions and 3 deletions

@ -272,11 +272,10 @@ include(CMake/DownloadFile.cmake)
if(WIN32)
set(ZLIB_FILE zlib.lib)
set(ZLIB_PATH ${CMAKE_BINARY_DIR}/depends/zlib/)
set(ZLIB_PATH ${dfhack_SOURCE_DIR}/depends/zlib/)
set(ZLIB_MD5 a3b2fc6b68efafa89b0882e354fc8418)
file(COPY ${dfhack_SOURCE_DIR}/depends/zlib/ DESTINATION ${ZLIB_PATH})
download_file("https://github.com/DFHack/dfhack-bin/releases/download/0.44.09/win64-${ZLIB_FILE}"
${ZLIB_PATH}lib/${ZLIB_FILE}
${ZLIB_PATH}lib/win64/${ZLIB_FILE}
${ZLIB_MD5})
set(ZLIB_ROOT ${ZLIB_PATH})
else()