comparison Resources/CMake/OpenSslConfiguration.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 e9e3c9e6a555
children
comparison
equal deleted inserted replaced
379:69920b9875a3 2192:61ab5fa36754
1 if (${STATIC_BUILD}) 1 if (${STATIC_BUILD})
2 SET(OPENSSL_SOURCES_DIR ${CMAKE_BINARY_DIR}/openssl-1.0.1c) 2 SET(OPENSSL_SOURCES_DIR ${CMAKE_BINARY_DIR}/openssl-1.0.1c)
3 DownloadPackage("http://www.openssl.org/source/openssl-1.0.1c.tar.gz" "${OPENSSL_SOURCES_DIR}" "" "") 3 DownloadPackage("http://www.orthanc-server.com/downloads/third-party/openssl-1.0.1c.tar.gz" "${OPENSSL_SOURCES_DIR}" "" "")
4 4
5 if (NOT EXISTS "${OPENSSL_SOURCES_DIR}/include/PATCHED") 5 if (NOT EXISTS "${OPENSSL_SOURCES_DIR}/include/PATCHED")
6 if ("${CMAKE_HOST_SYSTEM_NAME}" STREQUAL "Windows") 6 if ("${CMAKE_HOST_SYSTEM_NAME}" STREQUAL "Windows")
7 message("Patching the symbolic links") 7 message("Patching the symbolic links")
8 # Patch the symbolic links by copying the files 8 # Patch the symbolic links by copying the files