This repository has been archived by the owner on Sep 18, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
CMakeLists.txt
84 lines (61 loc) · 2.57 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
#
# SPDX-FileCopyrightText: 2020 George Florea Bănuș <[email protected]>
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
cmake_minimum_required(VERSION 3.15)
project(haruna LANGUAGES CXX)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
find_package(ECM 1.0.0 REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
include(KDEInstallDirs)
include(ECMInstallIcons)
include(FeatureSummary)
find_package(Qt5Core)
set_package_properties(Qt5Core PROPERTIES TYPE REQUIRED)
find_package(Qt5DBus)
set_package_properties(Qt5DBus PROPERTIES TYPE REQUIRED)
find_package(Qt5Qml)
set_package_properties(Qt5Qml PROPERTIES TYPE REQUIRED)
find_package(Qt5Quick)
set_package_properties(Qt5Quick PROPERTIES TYPE REQUIRED)
find_package(Qt5QuickControls2)
set_package_properties(Qt5QuickControls2 PROPERTIES TYPE REQUIRED)
find_package(Libmpv)
set_package_properties(Libmpv PROPERTIES TYPE REQUIRED
URL "https://mpv.io")
find_package(Breeze)
set_package_properties(Breeze PROPERTIES TYPE RECOMMENDED
URL "https://api.kde.org/frameworks/breeze-icons/html/index.html")
find_package(KF5Config)
set_package_properties(KF5Config PROPERTIES TYPE REQUIRED
URL "https://api.kde.org/frameworks/kconfig/html/index.html")
find_package(KF5CoreAddons)
set_package_properties(KF5CoreAddons PROPERTIES TYPE REQUIRED
URL "https://api.kde.org/frameworks/kcoreaddons/html/index.html")
find_package(KF5FileMetaData)
set_package_properties(KF5FileMetaData PROPERTIES TYPE REQUIRED
URL "https://api.kde.org/frameworks/kfilemetadata/html/index.html")
find_package(KF5I18n)
set_package_properties(KF5I18n PROPERTIES TYPE REQUIRED
URL "https://api.kde.org/frameworks/ki18n/html/index.html")
find_package(KF5IconThemes)
set_package_properties(KF5IconThemes PROPERTIES TYPE REQUIRED
URL "https://api.kde.org/frameworks/kiconthemes/html/index.html")
find_package(KF5KIO)
set_package_properties(KF5KIO PROPERTIES TYPE REQUIRED
URL "https://api.kde.org/frameworks/kio/html/index.html")
find_package(KF5Kirigami2)
set_package_properties(KF5Kirigami2 PROPERTIES TYPE REQUIRED
URL "https://api.kde.org/frameworks/kirigami/html/index.html")
find_package(KF5XmlGui)
set_package_properties(KF5XmlGui PROPERTIES TYPE REQUIRED
URL "https://api.kde.org/frameworks/kxmlgui/html/index.html")
#option(InstallColorSchemes "Installs breeze color schemes." OFF)
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
add_subdirectory(data)
add_subdirectory(src)