aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Fella <fella@posteo.de>2021-12-24 00:03:32 +0100
committerTobias Fella <fella@posteo.de>2021-12-24 00:03:32 +0100
commit1176ec1eedb749e81e3d446733c267a971feefa4 (patch)
treebe009768e8ea141631780c7068e5668d1581c64e
parent5920f8cf64b60a07ddf73852d6d4f724ab3bb03a (diff)
downloadlibquotient-1176ec1eedb749e81e3d446733c267a971feefa4.tar.gz
libquotient-1176ec1eedb749e81e3d446733c267a971feefa4.zip
Find sql when using libquotient
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 43fed3e9..1ff65282 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -328,7 +328,8 @@ if (${PROJECT_NAME}_ENABLE_E2EE)
${Qt}::Sql
${QTKEYCHAIN_LIBRARIES})
set(FIND_DEPS "find_dependency(Olm)
- find_dependency(OpenSSL)") # For QuotientConfig.cmake.in
+ find_dependency(OpenSSL)
+ find_dependency(${Qt}Sql)") # For QuotientConfig.cmake.in
endif()
target_link_libraries(${PROJECT_NAME} ${Qt}::Core ${Qt}::Network ${Qt}::Gui)