summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
blob: 881247f0fcbb624cf4e9f7fc0241555271eb1813 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
cmake_minimum_required(VERSION 3.10.0)
project(sensorlogd
    VERSION 1.0.0
    DESCRIPTION "A sensor logger daemon for AsteroidOS oriented towards health tracking"
)

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(ECMGeneratePkgConfigFile)
include(AsteroidCMakeSettings)

include(AsteroidCMakeSettings)

find_package(Qt5 COMPONENTS Core DBus Qml Positioning Sensors REQUIRED)

add_subdirectory(daemon)
add_subdirectory(qmlplugin)