mirror of
https://github.com/Qortal/Brooklyn.git
synced 2025-01-31 07:12:18 +00:00
d2ebfd0519
Screw the description like that inbred T3Q
31 lines
841 B
CMake
31 lines
841 B
CMake
# KI18N Translation Domain for this library
|
|
add_definitions(-DTRANSLATION_DOMAIN=\"kcm_desktoppaths\")
|
|
|
|
set(kcm_desktoppaths_PART_SRCS
|
|
globalpaths.cpp
|
|
desktoppathssettings.cpp
|
|
)
|
|
|
|
kcmutils_generate_module_data(
|
|
kcm_desktoppaths_PART_SRCS
|
|
MODULE_DATA_HEADER desktoppathsdata.h
|
|
MODULE_DATA_CLASS_NAME DesktopPathsData
|
|
SETTINGS_HEADERS desktoppathssettings.h
|
|
SETTINGS_CLASSES DesktopPathsSettings
|
|
)
|
|
|
|
ki18n_wrap_ui(kcm_desktoppaths_PART_SRCS globalpaths.ui)
|
|
|
|
add_library(kcm_desktoppaths MODULE ${kcm_desktoppaths_PART_SRCS})
|
|
|
|
target_link_libraries(kcm_desktoppaths
|
|
KF5::KCMUtils
|
|
KF5::I18n
|
|
KF5::KIOCore
|
|
KF5::KIOWidgets
|
|
)
|
|
|
|
install(TARGETS kcm_desktoppaths DESTINATION ${KDE_INSTALL_PLUGINDIR}/plasma/kcms/systemsettings_qwidgets)
|
|
install(FILES kcm_desktoppaths.desktop DESTINATION ${KDE_INSTALL_APPDIR})
|
|
|