-
Notifications
You must be signed in to change notification settings - Fork 34
/
CMakeLists.txt
35 lines (26 loc) · 1010 Bytes
/
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
cmake_minimum_required(VERSION 3.6.0)
project(asteroid-launcher
VERSION 0.0.1
DESCRIPTION "AsteroidOS launcher and Wayland compositor based on Qt5, QML and QtWayland via Lipstick")
find_package(ECM REQUIRED NO_MODULE)
find_package(AsteroidApp REQUIRED)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ASTEROID_MODULE_PATH})
include(FeatureSummary)
include(GNUInstallDirs)
include(ECMFindQmlModule)
include(AsteroidCMakeSettings)
include(AsteroidTranslations)
find_package(Qt5 COMPONENTS Quick WaylandCompositor DBus REQUIRED)
find_package(Mlite5 REQUIRED)
find_package(Lipstick REQUIRED)
find_package(Timed REQUIRED)
ecm_find_qmlmodule(org.nemomobile.calendar 1.0)
ecm_find_qmlmodule(org.nemomobile.systemsettings 1.0)
ecm_find_qmlmodule(Nemo.Mce 1.0)
ecm_find_qmlmodule(Nemo.DBus 2.0)
ecm_find_qmlmodule(Nemo.Configuration 1.0)
ecm_find_qmlmodule(Nemo.Time 1.0)
ecm_find_qmlmodule(Nemo.Ngf 1.0)
add_subdirectory(src)
build_translations(i18n)
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)