Can we have an option to set built-in Curl's CA certificate bundle path? 
Currently,
there is no way to override it. 
Unfortunately, I cannot generate a patch using diff as I have to re-type it 
from another
computer.
Could this be added to Utilities/cmcurl/CMakeLists.txt? :

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)

On Linux, I just re-compile CMake to use system's libcurl. However, on Windows, 
I have
to modify the code.
By the way, any chance on having SSL-enabled CMake packages on cmake.org 
website?
Thank You.

--
Artur Kedzierski

Attachment: smime.p7s
Description: S/MIME cryptographic signature

--

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://www.cmake.org/mailman/listinfo/cmake

Reply via email to