[CMake] Utilities/cmcurl/CMakeLists.txt patch

Jean-Christophe Fillion-Robin jchris.fillionr at kitware.com
Tue Feb 7 15:37:44 EST 2012


There is a corresponding issue in the tracker:
http://www.cmake.org/Bug/view.php?id=11743
Jc

On Tue, Feb 7, 2012 at 2:38 PM, Kedzierski, Artur CIV NSWC Corona, PA13 <
artur.kedzierski at navy.mil> wrote:

> 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.orgwebsite?
> Thank You.
>
> --
> Artur Kedzierski
>
>
> --
>
> 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
>



-- 
+1 919 869 8849
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120207/916d9e53/attachment.htm>


More information about the CMake mailing list