10 ${CMAKE_SOURCE_DIR}/messageviewer
14 kde4_add_ui_files(mailreader_SRCS mailreaderview.ui prefs_base.ui prefs_messagelist.ui)
16 kde4_add_kcfg_files(mailreader_SRCS settings.kcfgc )
18 kde4_add_executable(akonadimailreader ${mailreader_SRCS})
20 target_link_libraries(akonadimailreader messageviewer messagelist kdepim kpgp kleo akonadi-kde
21 akonadi-kmime akonadi_next ${KDE4_KDEUI_LIBS}
25 install(TARGETS akonadimailreader ${INSTALL_TARGETS_DEFAULT_ARGS} )
29 ########### install files ###############
31 install( FILES mailreader.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
32 install( FILES mailreader.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
33 install( FILES mailreaderui.rc DESTINATION ${DATA_INSTALL_DIR}/mailreader )