Skip to content

Commit

Permalink
ensure we ignore deprecated warnings from openssl in unity builds
Browse files Browse the repository at this point in the history
Signed-off-by: Matthieu Gallien <[email protected]>
  • Loading branch information
mgallien committed Mar 27, 2024
1 parent d81c20b commit 4e64316
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/libsync/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 0 additions & 2 deletions src/libsync/clientsideencryption.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#define OPENSSL_SUPPRESS_DEPRECATED

#include "clientsideencryption.h"

#include <openssl/rsa.h>
Expand Down

0 comments on commit 4e64316

Please sign in to comment.