calamares/src/modules/keyboardq/CMakeLists.txt
Adriaan de Groot 1cd9b93a22 REUSE: Giant boilerplate cleanup
- point to main Calamares site in the 'part of' headers instead
  of to github (this is the "this file is part of Calamares"
  opening line for most files).
- remove boilerplate from all source files, CMake modules and completions,
  this is the 3-paragraph summary of the GPL-3.0-or-later, which has
  a meaning entirely covered by the SPDX tag.
2020-08-26 02:28:38 +02:00

30 lines
803 B
CMake

# === This file is part of Calamares - <https://calamares.io> ===
#
# SPDX-FileCopyrightText: 2020 Adriaan de Groot <groot@kde.org>
# SPDX-License-Identifier: BSD-2-Clause
#
if( NOT WITH_QML )
calamares_skip_module( "keyboardq (QML is not supported in this build)" )
return()
endif()
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
keyboardq.qrc
LINK_PRIVATE_LIBRARIES
calamaresui
SHARED_LIB
)