ensure we ignore deprecated warnings from openssl in unity builds
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
This commit is contained in:
parent
d81c20b116
commit
4e643166af
|
@ -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)
|
||||
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#define OPENSSL_SUPPRESS_DEPRECATED
|
||||
|
||||
#include "clientsideencryption.h"
|
||||
|
||||
#include <openssl/rsa.h>
|
||||
|
|
Loading…
Reference in New Issue