diff options
author | David Cole <david.cole@kitware.com> | 2012-02-14 21:16:25 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2012-02-14 21:16:25 (GMT) |
commit | 4ad9232a48b3adcd64ad1ffe052199af108d87af (patch) | |
tree | fa40f16758fb46d96d0d82da12a44d8c47f59d28 /Utilities | |
parent | c69a20573ed332ca855cdac3f8c03e7df2e46f8c (diff) | |
parent | ed14435b232a7e76678716b5a2a6694e7cade66c (diff) | |
download | CMake-4ad9232a48b3adcd64ad1ffe052199af108d87af.zip CMake-4ad9232a48b3adcd64ad1ffe052199af108d87af.tar.gz CMake-4ad9232a48b3adcd64ad1ffe052199af108d87af.tar.bz2 |
Merge topic 'curl-CA-bundle'
ed14435 Add CURL_CA_BUNDLE option for SSL support (#12946)
Diffstat (limited to 'Utilities')
-rw-r--r-- | Utilities/cmcurl/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Utilities/cmcurl/CMakeLists.txt b/Utilities/cmcurl/CMakeLists.txt index 7030b2e..1d50914 100644 --- a/Utilities/cmcurl/CMakeLists.txt +++ b/Utilities/cmcurl/CMakeLists.txt @@ -190,6 +190,11 @@ IF(CMAKE_USE_OPENSSL) CHECK_LIBRARY_EXISTS_CONCAT("crypto" CRYPTO_lock HAVE_LIBCRYPTO) CHECK_LIBRARY_EXISTS_CONCAT("ssl" SSL_connect HAVE_LIBSSL) ENDIF(WIN32) + SET(CURL_CA_BUNDLE "" CACHE FILEPATH "Path to SSL CA Certificate Bundle") + MARK_AS_ADVANCED(CURL_CA_BUNDLE) + IF(CURL_CA_BUNDLE) + ADD_DEFINITIONS(-DCURL_CA_BUNDLE="${CURL_CA_BUNDLE}") + ENDIF(CURL_CA_BUNDLE) ENDIF(CMAKE_USE_OPENSSL) # Check for idn |