kwin/kcmkwin/kwindecoration/declarative-plugin/CMakeLists.txt
Mika Allan Rauhala 3389c7569f Adapt to KDecoration API changes
Adapt to API changes introduced by b62e8888cd39301e00ad98dfe791fa66676408fb.
It adds DecoratedClient::color(group, role) for getting colors that are
not included in QPalette. Breeze used to read these colors from
kdeglobals, breaking per window color schemes. KWin now handles reading
these colors along with QPalette loading with DecorationPalette.

REVIEW: 122883
2015-03-31 15:26:55 +02:00

25 lines
702 B
CMake

set(plugin_SRCS
previewbutton.cpp
previewbridge.cpp
previewclient.cpp
previewitem.cpp
previewsettings.cpp
plugin.cpp
buttonsmodel.cpp
../../../decorations/decorationpalette.cpp
)
add_library(kdecorationprivatedeclarative SHARED ${plugin_SRCS})
target_link_libraries(kdecorationprivatedeclarative
KDecoration2::KDecoration
KDecoration2::KDecoration2Private
Qt5::DBus
Qt5::Quick
KF5::CoreAddons
KF5::ConfigWidgets
KF5::I18n
KF5::Service
)
install(TARGETS kdecorationprivatedeclarative DESTINATION ${QML_INSTALL_DIR}/org/kde/kwin/private/kdecoration )
install(FILES qmldir DESTINATION ${QML_INSTALL_DIR}/org/kde/kwin/private/kdecoration )