Mercurial > hg > orthanc
diff Resources/CMake/OpenSslConfiguration.cmake @ 29:042ac60f5bf9
simplified build of curl
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 29 Aug 2012 15:27:13 +0200 |
parents | ef264c1e9ee5 |
children | e9e3c9e6a555 |
line wrap: on
line diff
--- a/Resources/CMake/OpenSslConfiguration.cmake Wed Aug 29 11:07:55 2012 +0200 +++ b/Resources/CMake/OpenSslConfiguration.cmake Wed Aug 29 15:27:13 2012 +0200 @@ -3,8 +3,8 @@ DownloadPackage("http://www.openssl.org/source/openssl-1.0.1c.tar.gz" "${OPENSSL_SOURCES_DIR}" "" "") if (NOT EXISTS "${OPENSSL_SOURCES_DIR}/include/PATCHED") - message("Patching the symbolic links") 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}) @@ -139,7 +139,8 @@ ${OPENSSL_SOURCES_DIR}/ssl/ssl_task.c ) - if (${MSVC}) + #if (${MSVC}) + if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows") set_source_files_properties( ${OPENSSL_SOURCES} PROPERTIES COMPILE_DEFINITIONS