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