Warning, /plasma/plasma-workspace/kcms/kfontinst/dbus/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 set(fontinst_bin_SRCS FcConfig.cpp FontInst.cpp Folder.cpp Main.cpp Utils.cpp ${libkfontinstdbusiface_SRCS} ) 0002 set(fontinst_helper_SRCS FcConfig.cpp Helper.cpp Folder.cpp Utils.cpp ${libkfontinstdbusiface_SRCS} ) 0003 0004 # qt5_generate_dbus_interface(FontInst.h org.kde.fontinst.xml) 0005 qt_add_dbus_adaptor(fontinst_bin_SRCS org.kde.fontinst.xml FontInst.h KFI::FontInst) 0006 # qt_add_dbus_interface(fontinst_bin_SRCS org.kde.fontinst.xml FontinstIface) 0007 0008 add_executable(fontinst_bin ${fontinst_bin_SRCS}) 0009 add_executable(fontinst_helper ${fontinst_helper_SRCS}) 0010 0011 set_target_properties(fontinst_bin PROPERTIES OUTPUT_NAME fontinst) 0012 target_link_libraries(fontinst_bin 0013 Qt::DBus Qt::Xml KF6::AuthCore KF6::KIOCore kfontinst) 0014 0015 set_target_properties(fontinst_helper PROPERTIES OUTPUT_NAME fontinst_helper) 0016 target_link_libraries(fontinst_helper Qt::DBus Qt::Xml KF6::AuthCore KF6::KIOCore kfontinst) 0017 0018 ecm_qt_declare_logging_category(fontinst_bin 0019 HEADER kfontinst_debug.h 0020 IDENTIFIER KFONTINST_DEBUG 0021 CATEGORY_NAME org.kde.plasma.kfontinst 0022 DESCRIPTION "kcm kfontinst" 0023 EXPORT PLASMAWORKSPACE 0024 ) 0025 0026 install(TARGETS fontinst_bin DESTINATION ${KAUTH_HELPER_INSTALL_DIR} ) 0027 install(TARGETS fontinst_helper DESTINATION ${KAUTH_HELPER_INSTALL_DIR} ) 0028 install(PROGRAMS fontinst_x11 DESTINATION ${KAUTH_HELPER_INSTALL_DIR}) 0029 0030 configure_file(org.kde.fontinst.service.cmake ${CMAKE_CURRENT_BINARY_DIR}/session/org.kde.fontinst.service) 0031 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/session/org.kde.fontinst.service DESTINATION ${KDE_INSTALL_DBUSSERVICEDIR} ) 0032 0033 kauth_install_helper_files(fontinst_helper org.kde.fontinst root) 0034 kauth_install_actions(org.kde.fontinst fontinst.actions)