Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
for MacOS choose the native SSL/TLS component
  • Loading branch information
ptahmose committed Oct 30, 2023
1 parent 2187ac8 commit 3011476
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ if (LIBCZI_BUILD_CURL_BASED_STREAM)
-DBUILD_STATIC_LIBS=ON
-DCMAKE_POSITION_INDEPENDENT_CODE=ON
-DCMAKE_INSTALL_PREFIX=${CMAKE_BINARY_DIR}/curl
-DENABLE_UNICODE=ON
-DENABLE_UNICODE=ON
-DCURL_USE_SECTRANSP=ON # for MacOS - let's choose Apple's native secure transport backend
)

FetchContent_MakeAvailable(libcurl)
Expand Down

0 comments on commit 3011476

Please sign in to comment.