kwin/mobiletaskswitcher: Fix installing metadata file

The metadata file should not be installed in the builtin-effects
directory. That directory must contain effects that are inside kwin
executable, i.e. statically linked effects.

The mobiletaskswitcher effect is not linked with the kwin executable so
it doesn't have to install its metadata file.
This commit is contained in:
Vlad Zahorodnii 2023-04-11 15:44:35 +03:00 committed by Devin Lin
parent 22347edb27
commit c3e85d0823

View file

@ -6,7 +6,6 @@ target_sources(mobiletaskswitcher PRIVATE
main.cpp
mobiletaskswitchereffect.cpp
)
install(FILES mobiletaskswitcher.json DESTINATION ${KDE_INSTALL_DATADIR}/kwin/builtin-effects)
target_link_libraries(mobiletaskswitcher
KF6::ConfigGui