shift-shell/kcms/wifi/CMakeLists.txt
Devin Lin 1e2847ef96 kcms: Import mobile network kcms
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.
2023-03-14 14:31:27 +00:00

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)