CMakeLists.txt 812 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
7
8
9

########### next target ###############

set(kontact_akregator_PART_SRCS akregator_plugin.cpp)

Laurent Montel's avatar
Laurent Montel committed
10
qt5_add_dbus_interfaces(kontact_akregator_PART_SRCS ${akregator_SOURCE_DIR}/src/org.kde.akregator.part.xml)
11
12
13

add_library(kontact_akregatorplugin MODULE ${kontact_akregator_PART_SRCS})

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

16
17
kcoreaddons_desktop_to_json(kontact_akregatorplugin akregatorplugin.desktop)

18
19
########### install files ###############

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

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

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