taskswitcher: Fix it not being registered as a KWin effect

I'm not really sure how the metadata was installed previously, but it appears the behaviour for that has changed and we now need to install the metadata file ourselves.
This commit is contained in:
Devin Lin 2024-07-20 14:47:12 -04:00
parent dd6b46f559
commit 897b00c242

View file

@ -24,5 +24,5 @@ target_link_libraries(mobiletaskswitcher
Plasma::Activities
)
# install(TARGETS kwin4_effect_taskswitcher DESTINATION ${PLUGIN_INSTALL_DIR}/kwin/effects/plugins)
install(DIRECTORY qml DESTINATION ${KDE_INSTALL_DATADIR}/kwin/effects/mobiletaskswitcher)
install(FILES mobiletaskswitcher.json DESTINATION ${KDE_INSTALL_DATADIR}/kwin/effects/mobiletaskswitcher)