Skip to content

Commit

Permalink
fix: windows tls support build
Browse files Browse the repository at this point in the history
  • Loading branch information
ajami1331 committed Jan 5, 2025
1 parent b165c0e commit 015d0ee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ set(BUILD_CURL_EXE OFF)
set(BUILD_SHARED_LIBS OFF)
set(BUILD_STATIC_LIBS OFF)

if (WIN32)
set(CURL_USE_SCHANNEL ON)
endif()

find_package(curl ${CURL_VERSION} QUIET)
if(NOT curl_FOUND)
Expand Down

0 comments on commit 015d0ee

Please sign in to comment.