summaryrefslogtreecommitdiffstats
path: root/framework
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-11-24 15:48:43 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-11-24 15:48:43 +0100
commit9e937c1d987d407d974c9a2840a9b0581e43dcd0 (patch)
treeb53512282742713907191d89f012cdb1e4602c7a /framework
parentf39da702c61685dc9b2437c533f74a3eed04a3e2 (diff)
downloadkube-9e937c1d987d407d974c9a2840a9b0581e43dcd0.tar.gz
kube-9e937c1d987d407d974c9a2840a9b0581e43dcd0.zip
Support unlocking the keyring from the commandline
Diffstat (limited to 'framework')
-rw-r--r--framework/src/CMakeLists.txt16
1 files changed, 11 insertions, 5 deletions
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)
14include_directories(. domain/mime/mimetreeparser domain/ domain/mime) 14include_directories(. domain/mime/mimetreeparser domain/ domain/mime)
15 15
16set(SRCS 16set(SRCS
17 frameworkplugin.cpp 17)
18
19add_library(kubeframework SHARED
18 settings/settings.cpp 20 settings/settings.cpp
19 domain/maillistmodel.cpp 21 domain/maillistmodel.cpp
20 domain/folderlistmodel.cpp 22 domain/folderlistmodel.cpp
@@ -48,10 +50,8 @@ set(SRCS
48 webengineprofile.cpp 50 webengineprofile.cpp
49 startupcheck.cpp 51 startupcheck.cpp
50 keyring.cpp 52 keyring.cpp
51) 53 )
52 54target_link_libraries(kubeframework
53add_library(frameworkplugin SHARED ${SRCS})
54target_link_libraries(frameworkplugin
55 sink 55 sink
56 kube_otp 56 kube_otp
57 Qt5::Core 57 Qt5::Core
@@ -66,6 +66,12 @@ target_link_libraries(frameworkplugin
66 KAsync 66 KAsync
67 QGpgme 67 QGpgme
68) 68)
69install(TARGETS kubeframework DESTINATION ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
70
71add_library(frameworkplugin SHARED frameworkplugin.cpp)
72target_link_libraries(frameworkplugin
73 kubeframework
74)
69install(TARGETS frameworkplugin DESTINATION ${FRAMEWORK_INSTALL_DIR}) 75install(TARGETS frameworkplugin DESTINATION ${FRAMEWORK_INSTALL_DIR})
70 76
71set(BUILD_TESTING ON) 77set(BUILD_TESTING ON)