diff --git a/3rd-party/CMakeLists.txt b/3rd-party/CMakeLists.txt index 48204b1..9a5093a 100644 --- a/3rd-party/CMakeLists.txt +++ b/3rd-party/CMakeLists.txt @@ -17,9 +17,14 @@ block() set(ENABLE_DEBUG ON) endif() - # Use SChannel on Win32 + # SSL Config if(WIN32) + # Use SChannel on Win32 set(CURL_USE_SCHANNEL ON) + else() + # Fix curl build with OpenSSL + find_package(OpenSSL REQUIRED) + add_library(openssl::openssl ALIAS openssl::SSL) endif() # Turn on Websockets