include_directories( ${kdepim-runtime_SOURCE_DIR} ${Boost_INCLUDE_DIR} ) set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}" ) ########### next target ############### if ( STRIGIQTDBUSCLIENT_LIBRARY ) include_directories(${STRIGI_INCLUDE_DIR} ${STRIGI_INCLUDE_DIR}/strigi) set(strigi_feeder_SRCS configdialog.cpp strigifeeder.cpp ) kde4_add_kcfg_files(strigi_feeder_SRCS settings.kcfgc) kde4_add_ui_files(strigi_feeder_SRCS configdialog.ui) if (NOT WINCE) kde4_add_plugin(akonadi_strigi_feeder ${strigi_feeder_SRCS}) else(NOT WINCE) kde4_add_plugin(akonadi_strigi_feeder STATIC ${strigi_feeder_SRCS}) endif(NOT WINCE) target_link_libraries(akonadi_strigi_feeder ${KDEPIMLIBS_AKONADI_LIBS} ${KDEPIMLIBS_KMIME_LIBS} ${QT_QTCORE_LIBRARY} ${QT_QTDBUS_LIBRARY} ${STRIGIQTDBUSCLIENT_LIBRARY} ${KDE4_KIO_LIBS} ${KDE4_KIDLETIME_LIBRARY} ) install(TARGETS akonadi_strigi_feeder DESTINATION ${PLUGIN_INSTALL_DIR}) install(FILES strigifeeder.desktop DESTINATION "${CMAKE_INSTALL_PREFIX}/share/akonadi/agents") endif ( STRIGIQTDBUSCLIENT_LIBRARY )