New Appointment -> New Task
[kdepim.git] / examples / mailreader / CMakeLists.txt
blob6f2096d847402e4e407e597c5ee19afb9faed4c0
1 project(mailreader)
3 set(mailreader_SRCS
4    mailreader.cpp
5    main.cpp
6    mailreaderview.cpp
7  )
9 include_directories(
10     ${CMAKE_SOURCE_DIR}/messageviewer
11     ${Boost_INCLUDE_DIRS}
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}
22                                         ${QGPGME_LIBRARIES}
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 )