Verified Commit 5e96be24 authored by Andre Heinecke's avatar Andre Heinecke
Browse files

Link KF5::CoreAddons for static gnupgsystem kcm

Otherwise KPluginFactory cannot be found if it is not
part of the include directories. Happened in my build environment.
parent e35dc852
......@@ -62,9 +62,8 @@ target_link_libraries(kcm_kleopatra_static
${_kcm_kleopatra_libkleopatraclient_extra_LIBS}
)
add_library(kleopatra_config_gnupgsystem MODULE kcm_gnupgsystemconfigurationpage.cpp)
target_link_libraries(kleopatra_config_gnupgsystem kcm_kleopatra_static)
target_link_libraries(kleopatra_config_gnupgsystem kcm_kleopatra_static KF5::CoreAddons)
install(FILES kleopatra_config_gnupgsystem.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
install(TARGETS kleopatra_config_gnupgsystem DESTINATION ${KDE_INSTALL_PLUGINDIR})
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment