From 9e937c1d987d407d974c9a2840a9b0581e43dcd0 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Fri, 24 Nov 2017 15:48:43 +0100 Subject: Support unlocking the keyring from the commandline --- framework/src/CMakeLists.txt | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'framework') diff --git a/framework/src/CMakeLists.txt b/framework/src/CMakeLists.txt index 7b188a49..2febf91b 100644 --- a/framework/src/CMakeLists.txt +++ b/framework/src/CMakeLists.txt @@ -14,7 +14,9 @@ set(CMAKE_CXX_VISIBILITY_PRESET default) include_directories(. domain/mime/mimetreeparser domain/ domain/mime) set(SRCS - frameworkplugin.cpp +) + +add_library(kubeframework SHARED settings/settings.cpp domain/maillistmodel.cpp domain/folderlistmodel.cpp @@ -48,10 +50,8 @@ set(SRCS webengineprofile.cpp startupcheck.cpp keyring.cpp -) - -add_library(frameworkplugin SHARED ${SRCS}) -target_link_libraries(frameworkplugin + ) +target_link_libraries(kubeframework sink kube_otp Qt5::Core @@ -66,6 +66,12 @@ target_link_libraries(frameworkplugin KAsync QGpgme ) +install(TARGETS kubeframework DESTINATION ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) + +add_library(frameworkplugin SHARED frameworkplugin.cpp) +target_link_libraries(frameworkplugin + kubeframework +) install(TARGETS frameworkplugin DESTINATION ${FRAMEWORK_INSTALL_DIR}) set(BUILD_TESTING ON) -- cgit v1.2.3