-
Notifications
You must be signed in to change notification settings - Fork 2
/
CMakeLists.txt
45 lines (39 loc) · 1.19 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# SPDX-FileCopyrightText: 2024 Christian Tallner <[email protected]>
#
# SPDX-License-Identifier: GPL-2.0-or-later
cmake_minimum_required(VERSION 3.16 FATAL_ERROR)
project(com.github.chrtall.kppleMenu)
set(VERSION 6.0.0)
set(AUTHOR, "ChrTall")
set(EMAIL, "[email protected]")
set(PLASMA_MIN_VERSION "6.0.0")
set(KF6_MIN_VERSION "6.0.0")
set(QT_MIN_VERSION "6.6.0")
set(QT_NO_CREATE_VERSIONLESS_FUNCTIONS 1)
find_package(ECM ${KF6_MIN_VERSION} REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
find_package(Qt6 CONFIG REQUIRED NO_MODULE COMPONENTS
Gui
Qml
Quick
Core
)
find_package(KF6 ${KF6_MIN_VERSION} REQUIRED COMPONENTS
CoreAddons
Declarative
Kirigami
Package
Svg
)
find_package(KF6KirigamiAddons 0.10 REQUIRED)
find_package(Plasma ${PLASMA_MIN_VERSION} REQUIRED)
include(ECMFindQmlModule)
include(CheckIncludeFiles)
include(QtVersionOption)
include(KDEInstallDirs)
include(KDECMakeSettings)
include(KDECompilerSettings NO_POLICY_SCOPE)
include(FeatureSummary)
plasma_install_package(package com.github.chrtall.kppleMenu)
#add_subdirectory(package)
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)