aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
blob: ab87345ad229b72e322694d078db9fd7a303aa72 (plain)
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
cmake_minimum_required(VERSION 3.6.0)

project(asteroid-map
	VERSION 0.0.1
	DESCRIPTION "Map app for AsteroidOS")

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)

ecm_find_qmlmodule(Nemo.Configuration 1.0)

add_subdirectory(src)

build_translations(i18n)
generate_desktop(${CMAKE_SOURCE_DIR} asteroid-map)
install(FILES waypoint.svg DESTINATION /usr/share/icons/asteroid/)
install(FILES ios-topographic-outline.svg DESTINATION /usr/share/icons/asteroid/)

feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)