mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
plasma-nm currently has the mobile network KCMs, but requires having a build flag in order to have them installed. This then requires distros to have multiple versions of the plasma-nm package. I think it makes sense to move them here so that packaging and development is easier.
18 lines
532 B
CMake
18 lines
532 B
CMake
# SPDX-FileCopyrightText: 2020 Tobias Fella <fella@posteo.de>
|
|
# SPDX-License-Identifier: LGPL-2.0-or-later
|
|
|
|
set (hotspotsettings_SRCS hotspotsettings.cpp)
|
|
|
|
add_library(kcm_mobile_hotspot MODULE ${hotspotsettings_SRCS})
|
|
|
|
target_link_libraries(kcm_mobile_hotspot
|
|
Qt::Quick
|
|
Qt::Qml
|
|
KF6::I18n
|
|
KF6::CoreAddons
|
|
KF6::QuickAddons
|
|
)
|
|
|
|
install(TARGETS kcm_mobile_hotspot DESTINATION ${KDE_INSTALL_PLUGINDIR}/kcms)
|
|
kpackage_install_package(package kcm_mobile_hotspot kcms)
|
|
kcmutils_generate_desktop_file(kcm_mobile_hotspot)
|