From 2940dd75d550270d369bdf41418268d5956060b8 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 8 May 2018 09:37:32 +0200 Subject: 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. --- framework/src/CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) (limited to 'framework/src/CMakeLists.txt') 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 KF5::Codecs KF5::Contacts KAsync - ${GPGME_LIBRARIES} ) install(TARGETS kubeframework DESTINATION ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) -- cgit v1.2.3