Skip to content

Commit 36e5166

Browse files
authored
build: suppress openssl deprecation warnings (#606)
1 parent e319619 commit 36e5166

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Builds/CMake/RippledCompiler.cmake

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ target_compile_features (common INTERFACE cxx_std_20)
1717
target_compile_definitions (common
1818
INTERFACE
1919
$<$<CONFIG:Debug>:DEBUG _DEBUG>
20-
$<$<AND:$<BOOL:${profile}>,$<NOT:$<BOOL:${assert}>>>:NDEBUG>)
20+
$<$<AND:$<BOOL:${profile}>,$<NOT:$<BOOL:${assert}>>>:NDEBUG>
21+
# TODO: Remove once we have migrated functions from OpenSSL 1.x to 3.x.
22+
OPENSSL_SUPPRESS_DEPRECATED)
2123
# ^^^^ NOTE: CMAKE release builds already have NDEBUG
2224
# defined, so no need to add it explicitly except for
2325
# this special case of (profile ON) and (assert OFF)

0 commit comments

Comments
 (0)