2023-03-14 02:09:23 +00:00
|
|
|
# SPDX-FileCopyrightText: 2020 Bhushan Shah <bshah@kde.org>
|
|
|
|
|
# SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
|
|
|
|
|
2023-03-14 01:45:47 +00:00
|
|
|
set(MALIIT_KEYBOARD_LANGUAGES_DIR "${CMAKE_INSTALL_FULL_LIBDIR}/maliit/keyboard2/languages" CACHE PATH "Directory containing maliit-keyboard data")
|
|
|
|
|
|
|
|
|
|
add_definitions(-DQT_NO_KEYWORDS)
|
|
|
|
|
|
2023-05-06 10:10:16 +00:00
|
|
|
kcmutils_add_qml_kcm(kcm_mobile_onscreenkeyboard)
|
|
|
|
|
|
|
|
|
|
target_sources(kcm_mobile_onscreenkeyboard PRIVATE
|
2023-03-14 01:45:47 +00:00
|
|
|
languagemodel.cpp
|
|
|
|
|
gsettingsitem.cpp
|
|
|
|
|
virtualkeyboard.cpp
|
|
|
|
|
)
|
|
|
|
|
target_compile_definitions(kcm_mobile_onscreenkeyboard PRIVATE "MALIIT_KEYBOARD_LANGUAGES_DIR=\"${MALIIT_KEYBOARD_LANGUAGES_DIR}\"")
|
|
|
|
|
|
|
|
|
|
target_link_libraries(kcm_mobile_onscreenkeyboard
|
|
|
|
|
Qt::Core
|
|
|
|
|
KF6::CoreAddons
|
|
|
|
|
KF6::I18n
|
2023-03-18 17:53:52 +00:00
|
|
|
KF6::KCMUtilsQuick
|
2023-03-14 01:45:47 +00:00
|
|
|
KF6::ConfigCore
|
|
|
|
|
PkgConfig::GIO
|
|
|
|
|
PkgConfig::GOBJECT
|
|
|
|
|
)
|