Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions cmake/deps/curl.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ include(FetchContent)
SET(BUILD_CURL_EXE OFF CACHE BOOL "" FORCE)
set(BUILD_LIBCURL_DOCS OFF CACHE BOOL "" FORCE)
set(BUILD_MISC_DOCS OFF CACHE BOOL "" FORCE)
set(CURL_DISABLE_TESTS ON CACHE BOOL "" FORCE)

# Disable all protocols except HTTP
SET(HTTP_ONLY ON CACHE BOOL "" FORCE)
Expand Down Expand Up @@ -31,6 +32,8 @@ FetchContent_Declare(
URL "https://github.com/curl/curl/releases/download/curl-8_8_0/curl-8.8.0.tar.gz"
URL_MD5 "2300048f61e6196678281a8612a873ef"
FIND_PACKAGE_ARGS NAMES CURL
EXCLUDE_FROM_ALL
SYSTEM
)

FetchContent_MakeAvailable(CURL)
2 changes: 2 additions & 0 deletions cmake/deps/json.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ FetchContent_Declare(nlohmann_json
URL https://github.com/nlohmann/json/archive/refs/tags/v3.12.0.tar.gz
URL_HASH SHA256=4b92eb0c06d10683f7447ce9406cb97cd4b453be18d7279320f7b2f025c10187
FIND_PACKAGE_ARGS NAMES nlohmann_json
EXCLUDE_FROM_ALL
SYSTEM
)

FetchContent_MakeAvailable(nlohmann_json)