From 51a85fa0e8814dfe47bb5174fa09a0e216d17d19 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Sun, 29 Mar 2020 10:49:53 +0200 Subject: Fix building tests with installed Quotient in E2EE configuration --- cmake/QuotientConfig.cmake | 6 ------ cmake/QuotientConfig.cmake.in | 5 +++++ 2 files changed, 5 insertions(+), 6 deletions(-) delete mode 100644 cmake/QuotientConfig.cmake create mode 100644 cmake/QuotientConfig.cmake.in (limited to 'cmake') diff --git a/cmake/QuotientConfig.cmake b/cmake/QuotientConfig.cmake deleted file mode 100644 index 31ed4db6..00000000 --- a/cmake/QuotientConfig.cmake +++ /dev/null @@ -1,6 +0,0 @@ -include(CMakeFindDependencyMacro) - -if (Quotient_ENABLE_E2EE) - find_dependency(QtOlm) -endif() -include("${CMAKE_CURRENT_LIST_DIR}/QuotientTargets.cmake") diff --git a/cmake/QuotientConfig.cmake.in b/cmake/QuotientConfig.cmake.in new file mode 100644 index 00000000..798fa87a --- /dev/null +++ b/cmake/QuotientConfig.cmake.in @@ -0,0 +1,5 @@ +include(CMakeFindDependencyMacro) + +@FIND_DEPS@ + +include("${CMAKE_CURRENT_LIST_DIR}/QuotientTargets.cmake") -- cgit v1.2.3