Mercurial > hg > orthanc
comparison Resources/CMake/ZlibConfiguration.cmake @ 2192:61ab5fa36754 Orthanc-0.5.1
hotfix in release 0.5.1 to properly download dependencies
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 02 Dec 2016 13:04:38 +0100 |
parents | 7593b57dc1bf |
children |
comparison
equal
deleted
inserted
replaced
379:69920b9875a3 | 2192:61ab5fa36754 |
---|---|
4 ${CMAKE_SOURCE_DIR}/Resources/minizip/zip.c | 4 ${CMAKE_SOURCE_DIR}/Resources/minizip/zip.c |
5 ) | 5 ) |
6 | 6 |
7 if (${STATIC_BUILD}) | 7 if (${STATIC_BUILD}) |
8 SET(ZLIB_SOURCES_DIR ${CMAKE_BINARY_DIR}/zlib-1.2.7) | 8 SET(ZLIB_SOURCES_DIR ${CMAKE_BINARY_DIR}/zlib-1.2.7) |
9 DownloadPackage("http://zlib.net/zlib-1.2.7.tar.gz" "${ZLIB_SOURCES_DIR}" "${ZLIB_PRELOADED}" "") | 9 DownloadPackage("http://www.orthanc-server.com/downloads/third-party/zlib-1.2.7.tar.gz" "${ZLIB_SOURCES_DIR}" "${ZLIB_PRELOADED}" "") |
10 | 10 |
11 include_directories( | 11 include_directories( |
12 ${ZLIB_SOURCES_DIR} | 12 ${ZLIB_SOURCES_DIR} |
13 ) | 13 ) |
14 | 14 |