File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ include(FetchContent)
19
19
20
20
FetchContent_Declare (cpr GIT_REPOSITORY https://github.com/whoshuu/cpr.git GIT_TAG 1.5.2 )
21
21
set (BUILD_SHARED_LIBS OFF CACHE BOOL "" )
22
+ set (BUILD_CPR_TESTS OFF CACHE BOOL "" )
23
+ add_compile_definitions (OPENSSL_NO_SSL3_METHOD )
22
24
FetchContent_MakeAvailable (cpr )
23
25
24
26
FetchContent_Declare (json GIT_REPOSITORY https://github.com/ArthurSonzogni/nlohmann_json_cmake_fetchcontent.git GIT_TAG v3.9.1 )
Original file line number Diff line number Diff line change @@ -17,5 +17,6 @@ executable(
17
17
subproject (' cpr' ).get_variable (' cpr_dep' ),
18
18
dependency (' nlohmann_json' ),
19
19
dependency (' simdjson' )
20
- ]
20
+ ],
21
+ cpp_args : ' -DOPENSSL_NO_SSL3_METHOD'
21
22
)
You can’t perform that action at this time.
0 commit comments