kwin/kcmkwin/kwindecoration/CMakeLists.txt

42 lines
1,011 B
Text
Raw Normal View History

# KI18N Translation Domain for this library
add_definitions(-DTRANSLATION_DOMAIN=\"kcmkwindecoration\")
add_subdirectory(declarative-plugin)
set(kcm_kwindecoration_PART_SRCS
kcm.cpp
decorationmodel.cpp
declarative-plugin/buttonsmodel.cpp
)
ki18n_wrap_ui(kcm_kwindecoration_PART_SRCS
kcm.ui
)
add_library(kcm_kwindecoration MODULE ${kcm_kwindecoration_PART_SRCS})
2013-10-01 12:00:24 +00:00
target_link_libraries(kcm_kwindecoration
KDecoration2::KDecoration
2013-10-01 12:00:24 +00:00
Qt5::DBus
Qt5::Quick
Qt5::QuickWidgets
2013-10-01 12:00:24 +00:00
Qt5::UiTools
2013-12-11 20:41:47 +00:00
KF5::Completion
KF5::ConfigWidgets
KF5::Declarative
2013-12-11 20:41:47 +00:00
KF5::I18n
KF5::NewStuff
KF5::WindowSystem
KF5::Service
2013-10-01 12:00:24 +00:00
)
install(TARGETS kcm_kwindecoration DESTINATION ${PLUGIN_INSTALL_DIR} )
########### install files ###############
install( FILES kwindecoration.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES
qml/main.qml
qml/Buttons.qml
qml/ButtonGroup.qml
qml/Previews.qml
DESTINATION ${DATA_INSTALL_DIR}/kwin/kcm_kwindecoration)