kde-workspace/kcontrol/kfontinst/kcmfontinst/CMakeLists.txt
Ivailo Monev 591b538337 generic: replace installation paths with KDE4_ prefixed
see commit in kdelibs repository

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-08 20:13:13 +00:00

18 lines
893 B
CMake

include_directories(
${CMAKE_SOURCE_DIR}/kcontrol/kfontinst/viewpart/
)
set(kcm_fontinst_PART_SRCS ${libkfontinstview_SRCS} ${libkfontinstjobrunner_SRCS} ${libkfontinstdbusiface_SRCS}
DuplicatesDialog.cpp FontList.cpp GroupList.cpp KCmFontInst.cpp PrintDialog.cpp
FontFilter.cpp FontFilterProxyStyle.cpp FcQuery.cpp PreviewList.cpp)
# qt4_add_dbus_interface(kcm_fontinst_PART_SRCS ../dbus/org.kde.fontinst.xml FontinstIface)
kde4_add_plugin(kcm_fontinst ${kcm_fontinst_PART_SRCS})
target_link_libraries(kcm_fontinst ${KDE4_KIO_LIBS} ${KDE4_KDESU_LIBS} kfontinstui kfontinst ${X11_LIBRARIES})
install(TARGETS kcm_fontinst DESTINATION ${KDE4_PLUGIN_INSTALL_DIR} )
install( FILES fontinst.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR} )
install( FILES kfontinst.knsrc DESTINATION ${KDE4_CONFIG_INSTALL_DIR} )
kde4_install_icons( ${KDE4_DATA_INSTALL_DIR}/kfontinst/icons )