diff --git a/Externals/curl/CMakeLists.txt b/Externals/curl/CMakeLists.txt index 5093cfb2d6..65a9090777 100644 --- a/Externals/curl/CMakeLists.txt +++ b/Externals/curl/CMakeLists.txt @@ -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