curl andy roid is already considered to be unix

This commit is contained in:
OatmealDome 2024-12-22 03:08:13 -05:00
parent d210898a17
commit 3fb75e2f6a
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ set(CURL_ZSTD OFF)
set(USE_LIBIDN2 OFF)
set(USE_NGHTTP2 OFF)
if(UNIX OR ANDROID)
if(UNIX)
# We use mbedtls on Unix(-like) systems and Android.
set(CURL_USE_OPENSSL OFF)
@ -39,7 +39,7 @@ endif()
add_subdirectory(curl)
if((UNIX AND NOT MBEDTLS_FOUND) OR ANDROID)
if(UNIX AND NOT MBEDTLS_FOUND)
# HACK: Manually link with the mbedtls libraries.
target_link_libraries(libcurl_static PRIVATE
MbedTLS::mbedtls