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