shift-shell/kcms/hotspot/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

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)