curl: Restore CURL_CA_BUNDLE option

Restore the option added by commit v2.8.8~200^2 (Add CURL_CA_BUNDLE
option for SSL support, 2012-02-09).
This commit is contained in:
Brad King committed 2014-11-10 10:13:38 -05:00
1 parent 681693c993
commit c50f032754
1 file changed
+7
+7
View File
@@ -437,6 +437,13 @@ if(CMAKE_USE_OPENSSL)
check_include_file_concat("openssl/ssl.h" HAVE_OPENSSL_SSL_H)
check_include_file_concat("openssl/x509.h" HAVE_OPENSSL_X509_H)
check_include_file_concat("openssl/rand.h" HAVE_OPENSSL_RAND_H)
# Optionally build with a specific CA cert bundle.
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()
endif(OPENSSL_FOUND)
endif(CMAKE_USE_OPENSSL)