comparison Resources/CMake/ZlibConfiguration.cmake @ 1493:9a1c7293955b

minizip should not be inside zlib
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 04 Aug 2015 14:58:56 +0200
parents 0a67a502c90f
children fbf763bb1fa3
comparison
equal deleted inserted replaced
1492:9f66a12eb8fc 1493:9a1c7293955b
1 # This is the minizip distribution to create ZIP files
2 set(ZLIB_SOURCES
3 ${ORTHANC_ROOT}/Resources/ThirdParty/minizip/ioapi.c
4 ${ORTHANC_ROOT}/Resources/ThirdParty/minizip/zip.c
5 )
6
7 if (STATIC_BUILD OR NOT USE_SYSTEM_ZLIB) 1 if (STATIC_BUILD OR NOT USE_SYSTEM_ZLIB)
8 SET(ZLIB_SOURCES_DIR ${CMAKE_BINARY_DIR}/zlib-1.2.7) 2 SET(ZLIB_SOURCES_DIR ${CMAKE_BINARY_DIR}/zlib-1.2.7)
9 DownloadPackage( 3 DownloadPackage(
10 "60df6a37c56e7c1366cca812414f7b85" 4 "60df6a37c56e7c1366cca812414f7b85"
11 "http://www.montefiore.ulg.ac.be/~jodogne/Orthanc/ThirdPartyDownloads/zlib-1.2.7.tar.gz" 5 "http://www.montefiore.ulg.ac.be/~jodogne/Orthanc/ThirdPartyDownloads/zlib-1.2.7.tar.gz"