The following issue has been SUBMITTED. ====================================================================== http://www.cmake.org/Bug/view.php?id=12946 ====================================================================== Reported By: Artur Kedzierski Assigned To: ====================================================================== Project: CMake Issue ID: 12946 Category: CMake Reproducibility: always Severity: minor Priority: high Status: new ====================================================================== Date Submitted: 2012-02-08 13:23 EST Last Modified: 2012-02-08 13:23 EST ====================================================================== Summary: Lack of ability to specify location of SSL CA bundle at compile time Description: Currently, there is no way of specifying location of SSL CA bundle at compile time. Source code has to be changed first. Addition of the following code to Utilities/cmcurl/CMakeLists.txt would fix the problem:
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) Steps to Reproduce: 1. Compile CMake with SSL support on Windows using built-in curl 2. Run CTest that submits to CDash Step 2 will fail as it will not find SSL CA bundle to verify website's SSL certificate. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2012-02-08 13:23 Artur KedzierskiNew Issue ====================================================================== -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers