curl andy roid is already considered to be unix
This commit is contained in:
parent
d210898a17
commit
3fb75e2f6a
|
@ -16,7 +16,7 @@ set(CURL_ZSTD OFF)
|
||||||
set(USE_LIBIDN2 OFF)
|
set(USE_LIBIDN2 OFF)
|
||||||
set(USE_NGHTTP2 OFF)
|
set(USE_NGHTTP2 OFF)
|
||||||
|
|
||||||
if(UNIX OR ANDROID)
|
if(UNIX)
|
||||||
# We use mbedtls on Unix(-like) systems and Android.
|
# We use mbedtls on Unix(-like) systems and Android.
|
||||||
set(CURL_USE_OPENSSL OFF)
|
set(CURL_USE_OPENSSL OFF)
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ endif()
|
||||||
|
|
||||||
add_subdirectory(curl)
|
add_subdirectory(curl)
|
||||||
|
|
||||||
if((UNIX AND NOT MBEDTLS_FOUND) OR ANDROID)
|
if(UNIX AND NOT MBEDTLS_FOUND)
|
||||||
# HACK: Manually link with the mbedtls libraries.
|
# HACK: Manually link with the mbedtls libraries.
|
||||||
target_link_libraries(libcurl_static PRIVATE
|
target_link_libraries(libcurl_static PRIVATE
|
||||||
MbedTLS::mbedtls
|
MbedTLS::mbedtls
|
||||||
|
|
Loading…
Reference in New Issue