CMakeLists.txt 857 Bytes
Newer Older
1
2

include_directories(
Laurent Montel's avatar
Laurent Montel committed
3
    ${akregator_SOURCE_DIR}/src
Laurent Montel's avatar
indent    
Laurent Montel committed
4
    )
5
6

########### next target ###############
7
add_library(kontact_akregatorplugin MODULE)
8

9
qt_add_dbus_interfaces(kontact_akregator_PART_SRCS ${akregator_SOURCE_DIR}/src/org.kde.akregator.part.xml)
10
target_sources(kontact_akregatorplugin PRIVATE akregator_plugin.cpp ${kontact_akregator_PART_SRCS})
11
12


13
target_link_libraries(kontact_akregatorplugin KF5::I18n KF5::KontactInterface)
14

15
kcoreaddons_desktop_to_json(kontact_akregatorplugin akregatorplugin.desktop  SERVICE_TYPES kcmodule.desktop)
16

17
18
########### install files ###############

19
install(TARGETS kontact_akregatorplugin DESTINATION ${KDE_INSTALL_PLUGINDIR}/kontact5)
20
21
22
23
24

install(FILES akregatorplugin.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}/kontact)

install(FILES akregator.setdlg DESTINATION ${KDE_INSTALL_DATADIR}/kontact/ksettingsdialog)