mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 03:37:49 +02:00
[openssl] suppress deprecation messages
Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
parent
bd00112562
commit
9c87fe79ea
2 changed files with 2 additions and 2 deletions
|
@ -210,7 +210,7 @@ if(NOT DEFINED OPENSSL_INCLUDE_DIR)
|
|||
endif()
|
||||
|
||||
if(OPENSSL_VERSION VERSION_GREATER_EQUAL "3.0.0")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated-declarations")
|
||||
add_definitions(-DOPENSSL_SUPPRESS_DEPRECATED)
|
||||
endif()
|
||||
|
||||
if(WITH_UPNP)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue