Warning, /plasma/libplasma/templates/qml-plasmoid6-with-qml-extension/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 cmake_minimum_required(VERSION 3.16)
0002 
0003 project(plasma-%{APPNAMELC})
0004  
0005 find_package(ECM 1.4.0 REQUIRED NO_MODULE)
0006 set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
0007 
0008 include(KDEInstallDirs)
0009 include(KDECMakeSettings)
0010 include(KDECompilerSettings NO_POLICY_SCOPE)
0011 include(FeatureSummary)
0012 
0013 find_package(KF6 REQUIRED COMPONENTS
0014     Plasma
0015     I18n
0016 )
0017 
0018 find_package(Qt6 CONFIG REQUIRED COMPONENTS
0019     Qml
0020     Gui
0021     Core
0022 )
0023 
0024 # plasmoid
0025 # TODO: adapt "org.kde.plasma" here & elsewhere if needed (see README)
0026 plasma_install_package(package org.kde.plasma.%{APPNAMELC})
0027 
0028 # qml extension plugin
0029 add_subdirectory(plugin)
0030 
0031 feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)