Mercurial > hg > orthanc
comparison Resources/CMake/LibCurlConfiguration.cmake @ 26:6ba765ecf3db
compiling openssl
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 28 Aug 2012 15:10:02 +0200 |
parents | 2fcf8e5e789c |
children | 042ac60f5bf9 |
comparison
equal
deleted
inserted
replaced
25:dd1489098265 | 26:6ba765ecf3db |
---|---|
2 SET(CURL_SOURCES_DIR ${CMAKE_BINARY_DIR}/curl-7.26.0) | 2 SET(CURL_SOURCES_DIR ${CMAKE_BINARY_DIR}/curl-7.26.0) |
3 DownloadPackage("http://curl.haxx.se/download/curl-7.26.0.tar.gz" "${CURL_SOURCES_DIR}" "" "") | 3 DownloadPackage("http://curl.haxx.se/download/curl-7.26.0.tar.gz" "${CURL_SOURCES_DIR}" "" "") |
4 | 4 |
5 if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux") | 5 if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux") |
6 if ("${CMAKE_SIZEOF_VOID_P}" EQUAL "8") | 6 if ("${CMAKE_SIZEOF_VOID_P}" EQUAL "8") |
7 SET(SOURCE_CONFIG ${CMAKE_SOURCE_DIR}/Resources/libcurl/x86_64-linux) | 7 SET(SOURCE_CONFIG ${CMAKE_SOURCE_DIR}/Resources/libcurl/WithSsl/x86_64-linux) |
8 elseif ("${CMAKE_SIZEOF_VOID_P}" EQUAL "4") | 8 elseif ("${CMAKE_SIZEOF_VOID_P}" EQUAL "4") |
9 SET(SOURCE_CONFIG ${CMAKE_SOURCE_DIR}/Resources/libcurl/i686-pc-linux-gnu) | 9 SET(SOURCE_CONFIG ${CMAKE_SOURCE_DIR}/Resources/libcurl/i686-pc-linux-gnu) |
10 else() | 10 else() |
11 message(FATAL_ERROR "Support your platform here") | 11 message(FATAL_ERROR "Support your platform here") |
12 endif() | 12 endif() |