# SPDX-FileCopyrightText: 2021 Vlad Zahorodnii # # SPDX-License-Identifier: BSD-3-Clause if (KWIN_BUILD_KCMS) add_subdirectory(kcm) endif() set(windowview_SOURCES main.cpp windowvieweffect.cpp ) kconfig_add_kcfg_files(windowview_SOURCES windowviewconfig.kcfgc ) qt_add_dbus_adaptor(windowview_SOURCES org.kde.KWin.Effect.WindowView1.xml windowvieweffect.h KWin::WindowViewEffect) kwin_add_builtin_effect(windowview ${windowview_SOURCES}) target_link_libraries(windowview PRIVATE kwin KF6::ConfigGui KF6::GlobalAccel KF6::I18n Qt::Quick ) install(DIRECTORY qml DESTINATION ${KDE_INSTALL_DATADIR}/kwin/effects/windowview)