krop's commit fixes my problem in a better way, reverting
[kdepim.git] / nepomuk_email_feeder / CMakeLists.txt
blobd8f8d417665f8f2f9fba57bfd8620dc8212ef10e
1 include_directories(
2   ${kdepim-runtime_SOURCE_DIR}
3   ${CMAKE_CURRENT_BINARY_DIR}/../nie_fast
4   ${Boost_INCLUDE_DIR}
5   )
7 set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}" )
8 add_definitions(-DNEPOMUK_RESOURCE_STATIC)
10 set(akonadi_nepomuk_email_feeder_SRCS nepomukemailfeeder.cpp ${NEPOMUKFEEDER_SHARED_SRCS})
12 kde4_add_app_icon(akonadi_nepomuk_email_feeder_SRCS "${KDE4_ICON_DIR}/oxygen/*/apps/nepomuk.png")
14 kde4_add_executable(akonadi_nepomuk_email_feeder RUN_UNINSTALLED ${akonadi_nepomuk_email_feeder_SRCS})
16 target_link_libraries(akonadi_nepomuk_email_feeder
17   niefast
18   ${SOPRANO_LIBRARIES}
19   ${KDE4_KDEUI_LIBRARY}
20   ${KDEPIMLIBS_AKONADI_LIBS}
21   akonadi-kmime
22   ${QT_QTCORE_LIBRARY}
23   ${QT_QTDBUS_LIBRARY}
24   ${KDEPIMLIBS_KMIME_LIBS}
25   ${NEPOMUK_LIBRARIES}
26   )
28 install(TARGETS akonadi_nepomuk_email_feeder ${INSTALL_TARGETS_DEFAULT_ARGS})
29 install(FILES nepomukemailfeeder.desktop DESTINATION "${CMAKE_INSTALL_PREFIX}/share/akonadi/agents")