shift-shell/kwin/mobiletaskswitcher/CMakeLists.txt
Vlad Zahorodnii c3e85d0823 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.
2023-04-12 03:41:14 +00:00

24 lines
665 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
)
target_link_libraries(mobiletaskswitcher
KF6::ConfigGui
KF6::GlobalAccel
KF6::I18n
KF6::CoreAddons
KF6::WindowSystem
Qt::Quick
Qt::Core
KWinEffects::kwineffects
)
# install(TARGETS kwin4_effect_taskswitcher DESTINATION ${PLUGIN_INSTALL_DIR}/kwin/effects/plugins)
install(DIRECTORY qml DESTINATION ${KDE_INSTALL_DATADIR}/kwin/effects/mobiletaskswitcher)