changeset 1540:76c332bcc6d1

fix windows
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 13 Aug 2015 17:11:15 +0200
parents 1c2c7e6c3a7a
children ed55880706f8
files Resources/CMake/OpenSslConfiguration.cmake
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Resources/CMake/OpenSslConfiguration.cmake	Thu Aug 13 17:00:29 2015 +0200
+++ b/Resources/CMake/OpenSslConfiguration.cmake	Thu Aug 13 17:11:15 2015 +0200
@@ -1,7 +1,11 @@
 if (STATIC_BUILD OR NOT USE_SYSTEM_OPENSSL)
+  # WARNING - We had to repack the upstream ".tar.gz" file to a ZIP
+  # file, as the upstream distribution ships symbolic links that are
+  # not always properly handled when uncompressing on Windows.
+
   SET(OPENSSL_SOURCES_DIR ${CMAKE_BINARY_DIR}/openssl-1.0.2d)
-  SET(OPENSSL_URL "www.montefiore.ulg.ac.be/~jodogne/Orthanc/ThirdPartyDownloads/openssl-1.0.2d.tar.gz")
-  SET(OPENSSL_MD5 "38dd619b2e77cbac69b99f52a053d25a")
+  SET(OPENSSL_URL "www.montefiore.ulg.ac.be/~jodogne/Orthanc/ThirdPartyDownloads/openssl-1.0.2d.zip")
+  SET(OPENSSL_MD5 "4b2ac15fc6db17f3dadc54482d3eee85")
 
   if (IS_DIRECTORY "${OPENSSL_SOURCES_DIR}")
     set(FirstRun OFF)