From 0162d91b60c5418564febc72dfdd2820c08a2232 Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Mon, 31 Jul 2023 07:09:23 +0000 Subject: [PATCH] Ensure e2ee is enabled --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3e0bf8b53..ff2a191a4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -124,6 +124,11 @@ set_package_properties(Quotient${QUOTIENT_SUFFIX} PROPERTIES PURPOSE "Talk with matrix server" ) +if (NOT TARGET Olm::Olm) + message(FATAL_ERROR "NeoChat requires Quotient with the E2EE feature enabled") +endif() + + find_package(cmark) set_package_properties(cmark PROPERTIES TYPE REQUIRED