From e95487a144ffe0923efda938b20e45bb5b9a59ff Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Thu, 26 Mar 2020 23:14:22 +0100 Subject: Fix building tests without E2EE --- cmake/QuotientConfig.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmake/QuotientConfig.cmake b/cmake/QuotientConfig.cmake index 6b842f60..c11d5e79 100644 --- a/cmake/QuotientConfig.cmake +++ b/cmake/QuotientConfig.cmake @@ -1,4 +1,6 @@ include(CMakeFindDependencyMacro) -find_dependency(QtOlm) +if (Quotient_E2EE_ENABLED) + find_dependency(QtOlm) +endif() include("${CMAKE_CURRENT_LIST_DIR}/QuotientTargets.cmake") -- cgit v1.2.3