Add HAVE_SNI definition to curl build for wolfssl

This commit is contained in:
RipleyTom 2021-11-11 04:54:53 +01:00 committed by Megamouse
parent 2359ba9aed
commit 2248007c9a

View File

@ -7,6 +7,7 @@ if(USE_SYSTEM_CURL)
target_link_libraries(libcurl INTERFACE CURL::libcurl)
else()
message("-- RPCS3: building libcurl + wolfssl submodules")
add_compile_definitions(HAVE_SNI)
option(BUILD_CURL_EXE "Set to ON to build curl executable." OFF)
option(CMAKE_USE_WOLFSSL "enable wolfSSL for SSL/TLS" ON)
option(HTTP_ONLY "disables all protocols except HTTP (This overrides all CURL_DISABLE_* options)" ON)