2 add_definitions (-DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS)
4 ########### next target ###############
6 set(libkfindcommon_SRCS kftabdlg.cpp kfind.cpp kquery.cpp kdatecombo.cpp)
7 set(kfindpart_PART_SRCS kfindpart.cpp ${libkfindcommon_SRCS})
10 kde4_add_plugin(kfindpart WITH_PREFIX ${kfindpart_PART_SRCS})
13 target_link_libraries(kfindpart ${KDE4_KDE3SUPPORT_LIBS} konq ${KDE4_KPARTS_LIBS})
15 install(TARGETS kfindpart DESTINATION ${PLUGIN_INSTALL_DIR} )
18 ########### next target ###############
20 set(kfind_SRCS kfwin.cpp kfinddlg.cpp main.cpp ${libkfindcommon_SRCS})
22 kde4_add_app_icon(kfind_SRCS "hi*-app-kfind.png")
24 kde4_add_executable(kfind ${kfind_SRCS})
26 target_link_libraries(kfind ${KDE4_KDE3SUPPORT_LIBS} )
28 install(TARGETS kfind ${INSTALL_TARGETS_DEFAULT_ARGS})
31 ########### install files ###############
33 install( FILES kfind.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
34 install( FILES findpart.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
35 install( FILES kfindpart.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
37 kde4_install_icons( ${ICON_INSTALL_DIR} )