There is a corresponding issue in the tracker: <a href="http://www.cmake.org/Bug/view.php?id=11743">http://www.cmake.org/Bug/view.php?id=11743</a><br>Jc<br><br><div class="gmail_quote">On Tue, Feb 7, 2012 at 2:38 PM, Kedzierski, Artur CIV NSWC Corona, PA13 <span dir="ltr"><<a href="mailto:artur.kedzierski@navy.mil">artur.kedzierski@navy.mil</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Can we have an option to set built-in Curl's CA certificate bundle path? Currently,<br>
there is no way to override it.<br>
Unfortunately, I cannot generate a patch using diff as I have to re-type it from another<br>
computer.<br>
Could this be added to Utilities/cmcurl/CMakeLists.txt? :<br>
<br>
SET(CURL_CA_BUNDLE "" CACHE FILEPATH "Path to SSL CA Certificate Bundle")<br>
MARK_AS_ADVANCED(CURL_CA_BUNDLE)<br>
IF(CURL_CA_BUNDLE)<br>
ADD_DEFINITIONS(-DCURL_CA_BUNDLE="${CURL_CA_BUNDLE}")<br>
ENDIF(CURL_CA_BUNDLE)<br>
<br>
On Linux, I just re-compile CMake to use system's libcurl. However, on Windows, I have<br>
to modify the code.<br>
By the way, any chance on having SSL-enabled CMake packages on <a href="http://cmake.org" target="_blank">cmake.org</a> website?<br>
Thank You.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Artur Kedzierski<br>
<br>
</font></span><br>--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br><br clear="all"><br>-- <br>+1 919 869 8849<br><br>