Add missing include.
[kdepim.git] / kmailcvt / CMakeLists.txt
blob3a4962ec5bee839b00a776f20fba2c2056deb6f0
1 project(kmailcvt)
3 add_subdirectory( pics )
5 ########### next target ###############
7 set(kmailcvt_SRCS
8   kimportpage.cpp
9   kselfilterpage.cpp
10   filters.cxx
11   filter_oe.cxx
12   kmailcvt.cpp
13   main.cpp
14   filter_pmail.cxx
15   filter_plain.cxx
16   filter_outlook.cxx
17   filter_mbox.cxx
18   filter_evolution.cxx
19   filter_mailapp.cxx
20   filter_evolution_v2.cxx
21   filter_opera.cxx
22   filter_thunderbird.cxx
23   filter_kmail_maildir.cxx
24   filter_sylpheed.cxx
25   filter_thebat.cxx
26   filter_lnotes.cxx
27   filter_kmail_archive.cxx )
29 include_directories(${Boost_INCLUDE_DIR} )
30 set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}" )
32 kde4_add_ui_files(kmailcvt_SRCS kselfilterpagedlg.ui kimportpagedlg.ui)
34 kde4_add_app_icon(kmailcvt_SRCS "ox*-app-kmailcvt.png")
35 kde4_add_executable(kmailcvt ${kmailcvt_SRCS})
37 target_link_libraries(kmailcvt
38   ${KDE4_KIO_LIBS}
39   ${KDEPIMLIBS_AKONADI_LIBS}
40   ${KDEPIMLIBS_AKONADI_KMIME_LIBS}
41   ${KDEPIMLIBS_KMIME_LIBS}
42   ${KDEPIMLIBS_KPIMUTILS_LIBS}
43   messagecore
46 install(TARGETS kmailcvt  ${INSTALL_TARGETS_DEFAULT_ARGS} )
48 ########### install files ###############
50 kde4_install_icons( ${ICON_INSTALL_DIR} )