mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
25 lines
685 B
CMake
25 lines
685 B
CMake
# SPDX-FileCopyrightText: 2019 Jonah Brüchert <jbb@kaidan.im>
|
|
# SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
|
|
|
|
set(info_SRCS # Specify source files for the library
|
|
info.cpp
|
|
distroinfo.cpp
|
|
softwareinfo.cpp
|
|
hardwareinfo.cpp
|
|
)
|
|
|
|
add_library(kcm_mobile_info MODULE ${info_SRCS})
|
|
|
|
target_link_libraries(kcm_mobile_info
|
|
Qt::Core
|
|
KF6::CoreAddons
|
|
KF6::I18n
|
|
KF6::QuickAddons
|
|
KF6::ConfigCore
|
|
KF6::Solid
|
|
)
|
|
|
|
install(TARGETS kcm_mobile_info DESTINATION ${KDE_INSTALL_PLUGINDIR}/kcms) # Install the library to the kcm location
|
|
|
|
kpackage_install_package(package kcm_mobile_info kcms) # Finally install our QML kpackage.
|
|
|