Skip to content

Commit

Permalink
build: fix curl OpenSSL config
Browse files Browse the repository at this point in the history
  • Loading branch information
egelja authored Jul 25, 2023
1 parent c1c704d commit faac564
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion 3rd-party/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit faac564

Please sign in to comment.