diff options
author | Brad King <brad.king@kitware.com> | 2015-08-12 19:35:22 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-08-12 19:43:24 (GMT) |
commit | 602cdc06a01b7c5c0eb444111382b09040f677ee (patch) | |
tree | 9cc0287218a61471e1b02e99dfbc6dc6ab90e21d /Source/cmCurl.cxx | |
parent | ce254de60e32dd1be95b430d37dc9bb67911d158 (diff) | |
download | CMake-602cdc06a01b7c5c0eb444111382b09040f677ee.zip CMake-602cdc06a01b7c5c0eb444111382b09040f677ee.tar.gz CMake-602cdc06a01b7c5c0eb444111382b09040f677ee.tar.bz2 |
cmCurl: Tolerate lack of CURLOPT_CAPATH support
Since curl 7.39 the CURLOPT_CAPATH setting may be rejected with a
CURLE_NOT_BUILT_IN error. Simply tolerate this with silent failure
since we just will not use the CAPATH setting in this case.
Diffstat (limited to 'Source/cmCurl.cxx')
-rw-r--r-- | Source/cmCurl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCurl.cxx b/Source/cmCurl.cxx index 96d3547..ad0c7d3 100644 --- a/Source/cmCurl.cxx +++ b/Source/cmCurl.cxx @@ -13,7 +13,7 @@ #include "cmSystemTools.h" #define check_curl_result(result, errstr) \ - if (result != CURLE_OK) \ + if (result != CURLE_OK && result != CURLE_NOT_BUILT_IN) \ { \ e += e.empty()? "" : "\n"; \ e += errstr; \ |