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)
1919
2020FetchContent_Declare(cpr GIT_REPOSITORY https://github.com/whoshuu/cpr.git GIT_TAG 1.5.2)
2121set (BUILD_SHARED_LIBS OFF CACHE BOOL "" )
22+ set (BUILD_CPR_TESTS OFF CACHE BOOL "" )
23+ add_compile_definitions (OPENSSL_NO_SSL3_METHOD)
2224FetchContent_MakeAvailable(cpr)
2325
2426FetchContent_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(
1717 subproject (' cpr' ).get_variable (' cpr_dep' ),
1818 dependency (' nlohmann_json' ),
1919 dependency (' simdjson' )
20- ]
20+ ],
21+ cpp_args : ' -DOPENSSL_NO_SSL3_METHOD'
2122)
You can’t perform that action at this time.
0 commit comments