Warning, /plasma/plasma-mobile/components/wallpaperimageplugin/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # SPDX-FileCopyrightText: 2023 Devin Lin <devin@kde.org>
0002 # SPDX-License-Identifier: GPL-2.0-or-later
0003 
0004 ecm_add_qml_module(wallpaperimageplugin URI org.kde.plasma.private.mobileshell.wallpaperimageplugin GENERATE_PLUGIN_SOURCE)
0005 target_sources(wallpaperimageplugin PRIVATE
0006     wallpaperplugin.cpp
0007 )
0008 
0009 # Include qml and js files within ./qml/
0010 file(GLOB_RECURSE _qml_sources
0011     "qml/*.qml"
0012     "qml/*.js"
0013 )
0014 ecm_target_qml_sources(wallpaperimageplugin SOURCES ${_qml_sources})
0015 
0016 target_link_libraries(wallpaperimageplugin PRIVATE
0017     Qt::Qml
0018     Qt::Gui
0019     Qt::Quick
0020     Qt::DBus
0021     Qt::Widgets
0022     Plasma::Plasma
0023     Plasma::PlasmaQuick
0024     KF6::CoreAddons
0025     KF6::I18n
0026     KF6::ConfigCore
0027     KF6::ConfigGui
0028     KF6::ConfigQml
0029     KF6::Package
0030     QCoro::DBus
0031     PW::KWorkspace
0032 )
0033 
0034 ecm_finalize_qml_module(wallpaperimageplugin)