aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2021-01-22 23:36:47 +0100
committerTobias Fella <fella@posteo.de>2021-12-01 21:34:52 +0100
commit3849a2466208a741165385f20150bddad59d2b8c (patch)
treebb77b249e859b8503c084280d7dd52feda4a2748 /CMakeLists.txt
parent121c2a08b25d79bcfd09c050d72c6ea7cc7720f9 (diff)
downloadlibquotient-3849a2466208a741165385f20150bddad59d2b8c.tar.gz
libquotient-3849a2466208a741165385f20150bddad59d2b8c.zip
Start implementing Qt olm binding
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index aa3b9c98..b4d4ef8b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -171,6 +171,7 @@ list(APPEND lib_SRCS
lib/jobs/syncjob.cpp
lib/jobs/mediathumbnailjob.cpp
lib/jobs/downloadfilejob.cpp
+ lib/olm/qolmaccount.cpp
)
# Configure API files generation
@@ -317,7 +318,7 @@ target_include_directories(${PROJECT_NAME} PUBLIC
$<INSTALL_INTERFACE:${${PROJECT_NAME}_INSTALL_INCLUDEDIR}>
)
if (${PROJECT_NAME}_ENABLE_E2EE)
- target_link_libraries(${PROJECT_NAME} QtOlm)
+ target_link_libraries(${PROJECT_NAME} Olm::Olm QtOlm)
set(FIND_DEPS "find_dependency(QtOlm)") # For QuotientConfig.cmake.in
endif()
target_link_libraries(${PROJECT_NAME} ${Qt}::Core ${Qt}::Network ${Qt}::Gui)