fix paths

develop
Myk Taylor 2023-05-23 17:15:47 -07:00
parent abc1a6a569
commit aa3ca94de4
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
3 changed files with 3 additions and 5 deletions

@ -271,12 +271,12 @@ set(Python_FIND_UNVERSIONED_NAMES FIRST)
include(CMake/DownloadFile.cmake)
if(WIN32)
set(ZLIB_FILE win64-zlib.lib)
set(ZLIB_FILE zlib.lib)
set(ZLIB_PATH ${CMAKE_BINARY_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/${ZLIB_FILE}"
${ZLIB_PATH}${ZLIB_FILE}
download_file("https://github.com/DFHack/dfhack-bin/releases/download/0.44.09/win64-${ZLIB_FILE}"
${ZLIB_PATH}lib/${ZLIB_FILE}
${ZLIB_MD5})
set(ZLIB_ROOT ${ZLIB_PATH})
else()