ensure we ignore deprecated warnings from openssl in unity builds

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
This commit is contained in:
Matthieu Gallien 2024-03-26 09:37:35 +01:00 committed by Matthieu Gallien
parent d81c20b116
commit 4e643166af
2 changed files with 2 additions and 2 deletions

View File

@ -219,6 +219,8 @@ target_compile_features(nextcloudsync
cxx_std_17
)
target_compile_definitions(nextcloudsync PRIVATE OPENSSL_SUPPRESS_DEPRECATED)
find_package(Qt5 REQUIRED COMPONENTS Gui Widgets Svg)
target_link_libraries(nextcloudsync PUBLIC Qt5::Gui Qt5::Widgets Qt5::Svg)

View File

@ -1,5 +1,3 @@
#define OPENSSL_SUPPRESS_DEPRECATED
#include "clientsideencryption.h"
#include <openssl/rsa.h>