mirror of
https://github.com/curl/curl.git
synced 2026-05-30 06:17:28 +03:00
cmake: disable CURL_CA_PATH auto-detection if USE_APPLE_SECTRUST=ON
Syncing behavior with `CURL_CA_BUNDLE` and autotools.
`/etc/ssl/certs` is empty by default on macOS systems, thus no likely
auto-detection finds something there.
Follow-up to eefd03c572 #18703
Closes #19380
This commit is contained in:
parent
ede6a8e087
commit
9825a3b708
1 changed files with 1 additions and 1 deletions
|
|
@ -1551,7 +1551,7 @@ if(_curl_ca_bundle_supported)
|
|||
unset(CURL_CA_PATH CACHE)
|
||||
elseif(CURL_CA_PATH STREQUAL "auto")
|
||||
unset(CURL_CA_PATH CACHE)
|
||||
if(NOT CMAKE_CROSSCOMPILING AND NOT WIN32)
|
||||
if(NOT CMAKE_CROSSCOMPILING AND NOT WIN32 AND NOT USE_APPLE_SECTRUST)
|
||||
set(_curl_ca_path_autodetect TRUE)
|
||||
endif()
|
||||
else()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue