[CMake] Utilities/cmcurl/CMakeLists.txt patch

Kedzierski, Artur CIV NSWC Corona, PA13 artur.kedzierski at navy.mil
Tue Feb 7 14:38:29 EST 2012


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5684 bytes
Desc: not available
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120207/8cb2d3cb/attachment.bin>


More information about the CMake mailing list