2014-11-13 19:30:51 +02:00
|
|
|
include_directories(
|
2015-10-31 13:44:54 +02:00
|
|
|
${CMAKE_SOURCE_DIR}/kcontrol/kfontinst/viewpart/
|
2014-11-13 19:30:51 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
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})
|
|
|
|
|
2015-01-11 20:59:41 +00:00
|
|
|
target_link_libraries(kcm_fontinst ${KDE4_KIO_LIBS} ${KDE4_KDESU_LIBS} kfontinstui kfontinst ${X11_LIBRARIES})
|
2014-11-13 19:30:51 +02:00
|
|
|
|
2020-02-08 19:29:32 +00:00
|
|
|
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} )
|
2014-11-13 19:30:51 +02:00
|
|
|
|
2020-02-08 19:29:32 +00:00
|
|
|
kde4_install_icons( ${KDE4_DATA_INSTALL_DIR}/kfontinst/icons )
|