2 ${KDEBASE_WORKSPACE_SOURCE_DIR}/kcontrol/kfontinst/kcmfontinst/
3 ${KDEBASE_WORKSPACE_SOURCE_DIR}/kcontrol/kfontinst/viewpart/
6 set(kfontinst_bin_SRCS ${libkfontinstjobrunner_SRCS} Installer.cpp )
8 set(kfontprint_bin_SRCS Printer.cpp )
9 set(kfontview_bin_SRCS Viewer.cpp )
11 kde4_add_executable(kfontinst_bin ${kfontinst_bin_SRCS})
12 kde4_add_executable(kfontprint_bin ${kfontprint_bin_SRCS})
13 kde4_add_executable(kfontview_bin ${kfontview_bin_SRCS})
15 set_target_properties(kfontinst_bin PROPERTIES OUTPUT_NAME kfontinst)
16 set_target_properties(kfontprint_bin PROPERTIES OUTPUT_NAME kfontprint)
17 set_target_properties(kfontview_bin PROPERTIES OUTPUT_NAME kfontview)
19 target_link_libraries(kfontinst_bin ${KDE4_KIO_LIBS} ${KDE4_KDESU_LIBS} ${X11_X11_LIB} kfontinst)
20 target_link_libraries(kfontprint_bin ${X11_X11_LIB} ${KDE4_KDEUI_LIBS} kfontinstui kfontinst)
21 target_link_libraries(kfontview_bin ${KDE4_KPARTS_LIBS} kfontinstui kfontinst )
23 install(TARGETS kfontinst_bin ${INSTALL_TARGETS_DEFAULT_ARGS} )
24 install(TARGETS kfontprint_bin DESTINATION ${LIBEXEC_INSTALL_DIR} )
25 install(TARGETS kfontview_bin ${INSTALL_TARGETS_DEFAULT_ARGS} )
26 install(FILES kfontviewui.rc DESTINATION ${DATA_INSTALL_DIR}/kfontview )
27 install(FILES kfontview.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
28 install(FILES installfont.desktop DESTINATION
29 ${SERVICES_INSTALL_DIR}/ServiceMenus )
31 kde4_install_icons( ${ICON_INSTALL_DIR} )