summaryrefslogtreecommitdiffstats
path: root/framework/src/CMakeLists.txt
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-05-08 09:37:32 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-05-08 09:37:32 +0200
commit2940dd75d550270d369bdf41418268d5956060b8 (patch)
treea60dcfa4e50acb99f8e739b944d38279ebef5ef0 /framework/src/CMakeLists.txt
parent68cbe64765d26f28d5555fd09fc710f91ea81187 (diff)
downloadkube-2940dd75d550270d369bdf41418268d5956060b8.tar.gz
kube-2940dd75d550270d369bdf41418268d5956060b8.zip
Make use of interface include directories and link libraries.
Instead of manually specifying the libraries to link against and the include directories to include we'd much rather have a single target to link against. find_package already defines the Gpgme target for some reason, which seems like a waste, but with the lowercase gpgme target we can work around that problem.
Diffstat (limited to 'framework/src/CMakeLists.txt')
-rw-r--r--framework/src/CMakeLists.txt1
1 files changed, 0 insertions, 1 deletions
diff --git a/framework/src/CMakeLists.txt b/framework/src/CMakeLists.txt
index 8ba924fe..d80fe284 100644
--- a/framework/src/CMakeLists.txt
+++ b/framework/src/CMakeLists.txt
@@ -72,7 +72,6 @@ target_link_libraries(kubeframework
72 KF5::Codecs 72 KF5::Codecs
73 KF5::Contacts 73 KF5::Contacts
74 KAsync 74 KAsync
75 ${GPGME_LIBRARIES}
76) 75)
77install(TARGETS kubeframework DESTINATION ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) 76install(TARGETS kubeframework DESTINATION ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
78 77