You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.4 KiB
37 lines
1.4 KiB
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) |
|
# qt5_add_dbus_interface(kcm_fontinst_PART_SRCS ../dbus/org.kde.fontinst.xml FontinstIface) |
|
|
|
add_library(kcm_fontinst MODULE ${kcm_fontinst_PART_SRCS}) |
|
|
|
target_link_libraries(kcm_fontinst |
|
KF5::Archive |
|
KF5::KCMUtils |
|
KF5::IconThemes |
|
KF5::KIOCore |
|
KF5::KIOWidgets |
|
KF5::XmlGui |
|
KF5::NewStuff |
|
kfontinstui |
|
kfontinst |
|
X11::X11 |
|
) |
|
|
|
set_target_properties(kcm_fontinst PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/kcms") |
|
install(TARGETS kcm_fontinst DESTINATION ${KDE_INSTALL_PLUGINDIR}/kcms) |
|
install( FILES fontinst.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} ) |
|
install( FILES kfontinst.knsrc DESTINATION ${KDE_INSTALL_KNSRCDIR} ) |
|
|
|
ecm_install_icons( ICONS |
|
16-actions-addfont.png |
|
16-actions-font-disable.png |
|
16-actions-font-enable.png |
|
16-actions-fontstatus.png |
|
22-actions-addfont.png |
|
22-actions-font-disable.png |
|
22-actions-font-enable.png |
|
22-actions-fontstatus.png |
|
16-actions-addfont.png |
|
DESTINATION |
|
${KDE_INSTALL_DATADIR}/kfontinst/icons THEME hicolor)
|
|
|