mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
28 lines
826 B
Text
28 lines
826 B
Text
|
|
set(MALIIT_KEYBOARD_LANGUAGES_DIR "${CMAKE_INSTALL_FULL_LIBDIR}/maliit/keyboard2/languages" CACHE PATH "Directory containing maliit-keyboard data")
|
||
|
|
|
||
|
|
add_definitions(-DQT_NO_KEYWORDS)
|
||
|
|
|
||
|
|
set(onscreenkeyboard_SRCS
|
||
|
|
languagemodel.cpp
|
||
|
|
gsettingsitem.cpp
|
||
|
|
virtualkeyboard.cpp
|
||
|
|
)
|
||
|
|
|
||
|
|
add_library(kcm_mobile_onscreenkeyboard MODULE ${onscreenkeyboard_SRCS})
|
||
|
|
|
||
|
|
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
|
||
|
|
KF6::QuickAddons
|
||
|
|
KF6::ConfigCore
|
||
|
|
PkgConfig::GIO
|
||
|
|
PkgConfig::GOBJECT
|
||
|
|
)
|
||
|
|
|
||
|
|
install(TARGETS kcm_mobile_onscreenkeyboard DESTINATION ${KDE_INSTALL_PLUGINDIR}/kcms)
|
||
|
|
|
||
|
|
kpackage_install_package(package kcm_mobile_virtualkeyboard kcms)
|