4 add_definitions( -DI_KNOW_KSOCKS_ISNT_PUBLIC)
5 # This module contains applets, so look for kpanelapplet.h
6 find_path( KICKER_INCLUDE_DIR plasma/kpanelapplet.h
9 if( KICKER_INCLUDE_DIR)
10 add_subdirectory( applet )
11 else(KICKER_INCLUDE_DIR)
12 message(STATUS "Kicker applets can't be compiled. Compile kdebase before")
13 endif(KICKER_INCLUDE_DIR)
15 add_subdirectory( pics )
17 ########### next target ###############
19 set(kdict_KDEINIT_SRCS
30 qt4_add_dbus_adaptor(kdict_KDEINIT_SRCS org.kde.kdict.xml toplevel.h TopLevel)
32 kde4_automoc(${kdict_KDEINIT_SRCS})
34 kde4_add_kdeinit_executable( kdict ${kdict_KDEINIT_SRCS})
36 target_link_libraries(kdeinit_kdict ${KDE4_KDECORE_LIBS} ${KDE4_KHTML_LIBS} )
38 install(TARGETS kdeinit_kdict DESTINATION ${LIB_INSTALL_DIR})
40 target_link_libraries( kdict kdeinit_kdict )
41 install(TARGETS kdict DESTINATION ${BIN_INSTALL_DIR} )
43 ########### install files ###############
45 install( FILES kdict.desktop DESTINATION ${XDG_APPS_DIR})
46 install( FILES kdictui.rc DESTINATION ${DATA_INSTALL_DIR}/kdict)
47 install( FILES org.kde.kdict.xml DESTINATION ${DBUS_INTERFACES_DIR} )
48 kde4_install_icons( ${ICON_INSTALL_DIR} )