# HG changeset patch # User Sebastien Jodogne # Date 1438693136 -7200 # Node ID 9a1c7293955be952e9bc985731f05cfcc2a71772 # Parent 9f66a12eb8fcd4ceb427c957d204b7a9b460a511 minizip should not be inside zlib diff -r 9f66a12eb8fc -r 9a1c7293955b CMakeLists.txt --- a/CMakeLists.txt Tue Aug 04 14:47:35 2015 +0200 +++ b/CMakeLists.txt Tue Aug 04 14:58:56 2015 +0200 @@ -382,6 +382,10 @@ ${CMAKE_SOURCE_DIR}/Resources/ThirdParty/md5/md5.c ${CMAKE_SOURCE_DIR}/Resources/ThirdParty/base64/base64.cpp + + # This is the minizip distribution to create ZIP files using zlib + ${ORTHANC_ROOT}/Resources/ThirdParty/minizip/ioapi.c + ${ORTHANC_ROOT}/Resources/ThirdParty/minizip/zip.c ) diff -r 9f66a12eb8fc -r 9a1c7293955b Resources/CMake/ZlibConfiguration.cmake --- a/Resources/CMake/ZlibConfiguration.cmake Tue Aug 04 14:47:35 2015 +0200 +++ b/Resources/CMake/ZlibConfiguration.cmake Tue Aug 04 14:58:56 2015 +0200 @@ -1,9 +1,3 @@ -# This is the minizip distribution to create ZIP files -set(ZLIB_SOURCES - ${ORTHANC_ROOT}/Resources/ThirdParty/minizip/ioapi.c - ${ORTHANC_ROOT}/Resources/ThirdParty/minizip/zip.c - ) - if (STATIC_BUILD OR NOT USE_SYSTEM_ZLIB) SET(ZLIB_SOURCES_DIR ${CMAKE_BINARY_DIR}/zlib-1.2.7) DownloadPackage(