shift-shell/kcms/info/CMakeLists.txt
Devin Lin e147f98aea kcms: Move KCMs from plasma-settings
Having the KCMs that are mobile specific here makes more sense than in the settings application. Historically plasma-settings had a faster release cycle than Plasma, but the application is now moving to the Plasma release schedule and so it makes sense do this now.
2023-03-13 18:45:47 -07:00

22 lines
534 B
CMake

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.