kwin/kcmkwin/kwindecoration/CMakeLists.txt

31 lines
941 B
Text
Raw Normal View History

# KI18N Translation Domain for this library
add_definitions(-DTRANSLATION_DOMAIN=\"kcm_kwindecoration\")
add_subdirectory(declarative-plugin)
set(kcmkwindecoration_SRCS
kcm.cpp
utils.cpp
decorationmodel.cpp
declarative-plugin/buttonsmodel.cpp
)
add_library(kcm_kwindecoration MODULE ${kcmkwindecoration_SRCS})
2013-10-01 12:00:24 +00:00
target_link_libraries(kcm_kwindecoration
KDecoration2::KDecoration
2013-12-11 20:41:47 +00:00
KF5::I18n
KF5::QuickAddons
2013-12-11 20:41:47 +00:00
KF5::NewStuff
Qt5::Quick
2013-10-01 12:00:24 +00:00
)
kcoreaddons_desktop_to_json(kcm_kwindecoration "kwindecoration.desktop" SERVICE_TYPES kcmodule.desktop)
# This desktop file is installed only for retrocompatibility with sycoca
install(FILES kwindecoration.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
install(FILES window-decorations.knsrc DESTINATION ${KDE_INSTALL_CONFDIR})
install(TARGETS kcm_kwindecoration DESTINATION ${KDE_INSTALL_PLUGINDIR}/kcms)
kpackage_install_package(package kcm_kwindecoration kcms)