curl: Set CA path on Android to the system-provided store

This commit is contained in:
OatmealDome 2024-12-22 19:32:00 -05:00
parent b5918effeb
commit 0b7f399436

View File

@ -39,6 +39,10 @@ if(WIN32)
set(CURL_USE_SCHANNEL ON)
endif()
if(ANDROID)
set(CURL_CA_PATH "/system/etc/security/cacerts" CACHE STRING "")
endif()
add_subdirectory(curl)
if(UNIX AND NOT MBEDTLS_FOUND)