From 2248007c9a3ed81e565ac7958a429861e805e32b Mon Sep 17 00:00:00 2001 From: RipleyTom Date: Thu, 11 Nov 2021 04:54:53 +0100 Subject: [PATCH] Add HAVE_SNI definition to curl build for wolfssl --- 3rdparty/curl/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/3rdparty/curl/CMakeLists.txt b/3rdparty/curl/CMakeLists.txt index 6e938d22e1..ebf5b0c7db 100644 --- a/3rdparty/curl/CMakeLists.txt +++ b/3rdparty/curl/CMakeLists.txt @@ -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)