2 include_directories(${CMAKE_SOURCE_DIR}/src ${KDE4_INCLUDES} ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} )
5 ########### next target ###############
7 set(kontact_basket_PART_SRCS basket_plugin.cpp uniqueapphandler.cpp)
9 message(STATUS "DCOP has been removed in KDE 4; port code to D-Bus. kde4_add_dcop_skels macro does not exist anymore. We keep it just to remember to port to D-Bus.")
10 #kde4_add_dcop_stubs(kontact_basket_PART_SRCS
13 kde4_add_plugin(kontact_basket WITH_PREFIX ${kontact_basket_PART_SRCS})
15 target_link_libraries(kontact_basket ${KDE4_KDECORE_LIBS} kpinterfaces DCOP qt-mt kdecore kdeui)
17 install(TARGETS kontact_basket DESTINATION ${PLUGIN_INSTALL_DIR})
20 ########### install files ###############
22 install(FILES kontact_basketplugin.setdlg DESTINATION ${DATA_INSTALL_DIR}/kontact/ksettingsdialog)
23 install(FILES basket.desktop basket_v4.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kontact)
27 #original Makefile.am contents follow:
29 #INCLUDES = -I$(top_srcdir)/src -I$(top_builddir)/src -I$(top_srcdir) $(all_includes)
31 #kde_module_LTLIBRARIES = libkontact_basket.la
32 #libkontact_basket_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
33 #libkontact_basket_la_LIBADD = -lkpinterfaces -lDCOP -lqt-mt -lkdecore -lkdeui
35 #noinst_HEADERS = basket_plugin.h uniqueapphandler.h
36 #libkontact_basket_la_SOURCES = basket_plugin.cpp uniqueapphandler.cpp basketdcopiface.stub
40 #basketdcopiface_DIR = $(top_srcdir)/src
42 #servicedir = $(kde_servicesdir)/kontact
43 #service_DATA = basket.desktop basket_v4.desktop
45 #basketsetdlgdir = $(kde_datadir)/kontact/ksettingsdialog
46 #basketsetdlg_DATA = kontact_basketplugin.setdlg