Mercurial > hg > orthanc
changeset 1541:ed55880706f8
removal of unnecessary code
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 13 Aug 2015 17:13:07 +0200 |
parents | 76c332bcc6d1 |
children | d2bccd57795e |
files | Resources/CMake/OpenSslConfiguration.cmake |
diffstat | 1 files changed, 0 insertions(+), 18 deletions(-) [+] |
line wrap: on
line diff
--- a/Resources/CMake/OpenSslConfiguration.cmake Thu Aug 13 17:11:15 2015 +0200 +++ b/Resources/CMake/OpenSslConfiguration.cmake Thu Aug 13 17:13:07 2015 +0200 @@ -15,21 +15,6 @@ DownloadPackage(${OPENSSL_MD5} ${OPENSSL_URL} "${OPENSSL_SOURCES_DIR}") - if (NOT EXISTS "${OPENSSL_SOURCES_DIR}/include/PATCHED") - if ("${CMAKE_HOST_SYSTEM_NAME}" STREQUAL "Windows") - message("Patching the symbolic links") - # Patch the symbolic links by copying the files - file(GLOB headers "${OPENSSL_SOURCES_DIR}/include/openssl/*.h") - foreach(header ${headers}) - message(${header}) - file(READ "${header}" symbolicLink) - message(${symbolicLink}) - configure_file("${OPENSSL_SOURCES_DIR}/include/openssl/${symbolicLink}" "${header}" COPYONLY) - endforeach() - file(WRITE "${OPENSSL_SOURCES_DIR}/include/PATCHED") - endif() - endif() - add_definitions( -DOPENSSL_THREADS -DOPENSSL_IA32_SSE2 @@ -208,9 +193,6 @@ endif() endif() - #add_library(OpenSSL STATIC ${OPENSSL_SOURCES}) - #link_libraries(OpenSSL) - else() include(FindOpenSSL)