Skip to content

Commit

Permalink
feat(build): fix curl in windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
Yibai Zhang authored and Yibai Zhang committed Jan 4, 2024
1 parent d12cec7 commit a520147
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ find_package(Asio REQUIRED)
set(OPENSSL_USE_STATIC_LIBS TRUE)
find_package(OpenSSL REQUIRED)

find_package(CURL COMPONENTS HTTP HTTPS CONFIG)

include(FetchContent)
FetchContent_Declare(cpr URL https://github.com/libcpr/cpr/archive/refs/tags/1.10.5.tar.gz
URL_HASH SHA256=c8590568996cea918d7cf7ec6845d954b9b95ab2c4980b365f582a665dea08d8
Expand Down

0 comments on commit a520147

Please sign in to comment.