forked from eekkelund/plugins
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCMakeLists.txt
42 lines (30 loc) · 1.23 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
cmake_minimum_required(VERSION 3.6.0)
project(maliit-nemo-keyboard
VERSION 0.102
DESCRIPTION "mallit nemomobile keyboard")
include(FeatureSummary)
include(GNUInstallDirs)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_INSTALL_PREFIX "/usr" CACHE PATH "..." FORCE)
set(QT_MIN_VERSION "6.0.0")
find_package(Qt6 ${QT_MIN_VERSION} COMPONENTS Gui Qml Quick LinguistTools REQUIRED)
find_package(PkgConfig)
pkg_check_modules(MLITE6 mlite6 REQUIRED IMPORTED_TARGET)
pkg_check_modules(HUNSPELL hunspell REQUIRED IMPORTED_TARGET)
install(FILES qml/nemo-keyboard.qml
DESTINATION ${CMAKE_INSTALL_LIBDIR}/maliit/plugins/)
install(FILES data/org.maliit.server.service
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/dbus-1/services/)
install(FILES data/maliit-server.service
DESTINATION ${CMAKE_INSTALL_LIBDIR}/systemd/user/)
install(FILES data/maliit-server.sh
DESTINATION ${CMAKE_INSTALL_DIR}/etc/profile.d/)
install(DIRECTORY qml/org/nemomobile
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/maliit/plugins/org)
install(DIRECTORY layouts/
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/glacier-keyboard/layouts)
add_subdirectory("src")
add_subdirectory("settings-plugin")