calamares/src/modules/keyboardq/CMakeLists.txt

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
749 B
CMake
Raw Normal View History

# === This file is part of Calamares - <https://calamares.io> ===
#
# SPDX-FileCopyrightText: 2020 Adriaan de Groot <groot@kde.org>
# SPDX-License-Identifier: BSD-2-Clause
#
2022-02-08 16:18:47 +01:00
if(NOT WITH_QML)
calamares_skip_module( "keyboardq (QML is not supported in this build)" )
return()
endif()
2022-02-08 16:18:47 +01:00
set(_keyboard ${CMAKE_CURRENT_SOURCE_DIR}/../keyboard)
2022-02-08 16:18:47 +01:00
include_directories(${_keyboard})
2022-02-08 16:18:47 +01:00
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
keyboardq.qrc
SHARED_LIB
)