mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-28 06:33: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.
23 lines
583 B
CMake
23 lines
583 B
CMake
# SPDX-FileCopyrightText: 2018 Martin Kacej <m.kacej@atlas.sk>
|
|
# SPDX-License-Identifier: LGPL-2.0-or-later
|
|
|
|
project (kcm_mobile_wifi)
|
|
|
|
set (wifisettings_SRCS wifisettings.cpp)
|
|
|
|
add_library(kcm_mobile_wifi MODULE ${wifisettings_SRCS})
|
|
|
|
target_link_libraries(kcm_mobile_wifi
|
|
Qt::DBus
|
|
Qt::Gui
|
|
Qt::Quick
|
|
Qt::Qml
|
|
KF6::I18n
|
|
KF6::NetworkManagerQt
|
|
KF6::Plasma
|
|
KF6::QuickAddons
|
|
)
|
|
|
|
install(TARGETS kcm_mobile_wifi DESTINATION ${KDE_INSTALL_PLUGINDIR}/kcms)
|
|
kpackage_install_package(package kcm_mobile_wifi kcms)
|
|
kcmutils_generate_desktop_file(kcm_mobile_wifi)
|