From 0b7f399436ac9f6084116a90c33cfc34ac556dd7 Mon Sep 17 00:00:00 2001 From: OatmealDome Date: Sun, 22 Dec 2024 19:32:00 -0500 Subject: [PATCH] curl: Set CA path on Android to the system-provided store --- Externals/curl/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Externals/curl/CMakeLists.txt b/Externals/curl/CMakeLists.txt index 746cd2551e..d48eafefcc 100644 --- a/Externals/curl/CMakeLists.txt +++ b/Externals/curl/CMakeLists.txt @@ -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)