3
0
mirror of https://github.com/Qortal/Brooklyn.git synced 2025-01-31 07:12:18 +00:00
Brooklyn/plasma/kcms/qtquicksettings/CMakeLists.txt
2022-04-02 18:24:21 +05:00

21 lines
716 B
CMake

add_definitions(-DTRANSLATION_DOMAIN=\"kcmqtquicksettings\")
set(kcm_qtquicksettings_PART_SRCS kcmqtquicksettings.cpp kcmqtquicksettings.h)
kconfig_add_kcfg_files(kcm_qtquicksettings_PART_SRCS renderersettings.kcfgc)
ki18n_wrap_ui(kcm_qtquicksettings_PART_SRCS kcmqtquicksettingswidget.ui)
add_library(kcm_qtquicksettings MODULE ${kcm_qtquicksettings_PART_SRCS})
target_link_libraries(kcm_qtquicksettings
Qt::Widgets
KF5::WidgetsAddons
KF5::KCMUtils
KF5::I18n
)
########### install files ###############
install(TARGETS kcm_qtquicksettings DESTINATION ${KDE_INSTALL_PLUGINDIR}/plasma/kcms/systemsettings_qwidgets)
install(FILES kcm_qtquicksettings.desktop DESTINATION ${KDE_INSTALL_APPDIR})