shift-shell/kwin/mobiletaskswitcher/CMakeLists.txt
Devin Lin 897b00c242 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.
2024-07-20 14:47:12 -04:00

28 lines
748 B
CMake

# SPDX-FileCopyrightText: 2022 Devin Lin <devin@kde.org>
# SPDX-License-Identifier: GPL-2.0-or-later
kcoreaddons_add_plugin(mobiletaskswitcher INSTALL_NAMESPACE "kwin/effects/plugins")
target_sources(mobiletaskswitcher PRIVATE
main.cpp
mobiletaskswitchereffect.cpp
effecttouchborder.cpp
taskfiltermodel.cpp
taskmodel.cpp
)
target_link_libraries(mobiletaskswitcher
KF6::ConfigGui
KF6::GlobalAccel
KF6::I18n
KF6::CoreAddons
KF6::WindowSystem
Qt::Quick
Qt::Core
KWin::kwin
Plasma::Activities
)
install(DIRECTORY qml DESTINATION ${KDE_INSTALL_DATADIR}/kwin/effects/mobiletaskswitcher)
install(FILES mobiletaskswitcher.json DESTINATION ${KDE_INSTALL_DATADIR}/kwin/effects/mobiletaskswitcher)