We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e466556 commit 9b66075Copy full SHA for 9b66075
CMakeLists.txt
@@ -19,6 +19,8 @@ include(FetchContent)
19
20
FetchContent_Declare(cpr GIT_REPOSITORY https://github.com/whoshuu/cpr.git GIT_TAG 1.5.2)
21
set(BUILD_SHARED_LIBS OFF CACHE BOOL "")
22
+set(BUILD_CPR_TESTS OFF CACHE BOOL "")
23
+add_compile_definitions(OPENSSL_NO_SSL3_METHOD)
24
FetchContent_MakeAvailable(cpr)
25
26
FetchContent_Declare(json GIT_REPOSITORY https://github.com/ArthurSonzogni/nlohmann_json_cmake_fetchcontent.git GIT_TAG v3.9.1)
meson.build
@@ -17,5 +17,6 @@ executable(
17
subproject('cpr').get_variable('cpr_dep'),
18
dependency('nlohmann_json'),
dependency('simdjson')
- ]
+ ],
+ cpp_args: '-DOPENSSL_NO_SSL3_METHOD'
)
0 commit comments