File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ include(FetchContent)
44SET (BUILD_CURL_EXE OFF CACHE BOOL "" FORCE)
55set (BUILD_LIBCURL_DOCS OFF CACHE BOOL "" FORCE)
66set (BUILD_MISC_DOCS OFF CACHE BOOL "" FORCE)
7+ set (CURL_DISABLE_TESTS ON CACHE BOOL "" FORCE)
78
89# Disable all protocols except HTTP
910SET (HTTP_ONLY ON CACHE BOOL "" FORCE)
@@ -31,6 +32,8 @@ FetchContent_Declare(
3132 URL "https://github.com/curl/curl/releases/download/curl-8_8_0/curl-8.8.0.tar.gz"
3233 URL_MD5 "2300048f61e6196678281a8612a873ef"
3334 FIND_PACKAGE_ARGS NAMES CURL
35+ EXCLUDE_FROM_ALL
36+ SYSTEM
3437)
3538
3639FetchContent_MakeAvailable(CURL)
Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ FetchContent_Declare(nlohmann_json
77 URL https://github.com/nlohmann/json/archive/refs/tags/v3.12.0.tar.gz
88 URL_HASH SHA256=4b92eb0c06d10683f7447ce9406cb97cd4b453be18d7279320f7b2f025c10187
99 FIND_PACKAGE_ARGS NAMES nlohmann_json
10+ EXCLUDE_FROM_ALL
11+ SYSTEM
1012)
1113
1214FetchContent_MakeAvailable(nlohmann_json)
You can’t perform that action at this time.
0 commit comments