From 0bafc33d70ddfdc8c4015a7f330623c726fe7ef7 Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Sun, 24 Oct 2021 16:47:27 +0200 Subject: Only build the encryptionmanager when encryption is enabled --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 92a9b213..8d5f08af 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -128,7 +128,6 @@ list(APPEND lib_SRCS lib/networksettings.cpp lib/converters.cpp lib/util.cpp - lib/encryptionmanager.cpp lib/eventitem.cpp lib/accountregistry.cpp lib/mxcreply.cpp @@ -171,6 +170,7 @@ if (${PROJECT_NAME}_ENABLE_E2EE) lib/crypto/qolmerrors.cpp lib/crypto/qolmsession.cpp lib/crypto/qolmmessage.cpp + lib/encryptionmanager.cpp ) endif() -- cgit v1.2.3