2020-05-14 15:54:19 +02:00
|
|
|
if( NOT WITH_QML )
|
|
|
|
calamares_skip_module( "keyboardq (QML is not supported in this build)" )
|
|
|
|
return()
|
|
|
|
endif()
|
|
|
|
|
2020-03-25 16:08:12 +01:00
|
|
|
set( _keyboard ${CMAKE_CURRENT_SOURCE_DIR}/../keyboard )
|
|
|
|
|
|
|
|
include_directories( ${_keyboard} )
|
|
|
|
|
|
|
|
calamares_add_plugin( keyboardq
|
|
|
|
TYPE viewmodule
|
|
|
|
EXPORT_MACRO PLUGINDLLEXPORT_PRO
|
|
|
|
SOURCES
|
|
|
|
KeyboardQmlViewStep.cpp
|
|
|
|
${_keyboard}/Config.cpp
|
|
|
|
${_keyboard}/KeyboardLayoutModel.cpp
|
|
|
|
${_keyboard}/SetKeyboardLayoutJob.cpp
|
|
|
|
${_keyboard}/keyboardwidget/keyboardglobal.cpp
|
|
|
|
RESOURCES
|
2020-04-03 12:23:21 +02:00
|
|
|
keyboardq.qrc
|
2020-03-25 16:08:12 +01:00
|
|
|
LINK_PRIVATE_LIBRARIES
|
|
|
|
calamaresui
|
|
|
|
SHARED_LIB
|
|
|
|
)
|