Warning, /frameworks/kio/src/kcms/netpref/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 find_package(KF5TextWidgets ${KF_DEP_VERSION} REQUIRED) 0002 0003 add_library(kcm_netpref MODULE) 0004 0005 kcoreaddons_desktop_to_json(kcm_netpref netpref.desktop) 0006 target_sources(kcm_netpref PRIVATE 0007 netpref.cpp 0008 ../ksaveioconfig.cpp 0009 ) 0010 0011 target_link_libraries(kcm_netpref 0012 PUBLIC 0013 Qt${QT_MAJOR_VERSION}::DBus 0014 KF5::ConfigCore 0015 KF5::ConfigWidgets 0016 KF5::KIOCore 0017 KF5::TextWidgets # KPluralHandlingSpinBox 0018 PRIVATE 0019 KF5::I18n 0020 KF5::CoreAddons 0021 ) 0022 0023 install(TARGETS kcm_netpref DESTINATION ${KDE_INSTALL_PLUGINDIR}/plasma/kcms/systemsettings_qwidgets) 0024 0025 if(NOT EXCLUDE_DEPRECATED_BEFORE_AND_AT STREQUAL "CURRENT" AND EXCLUDE_DEPRECATED_BEFORE_AND_AT VERSION_LESS 5.102.0) 0026 install(FILES netpref.desktop DESTINATION ${KDE_INSTALL_KSERVICESDIR}) 0027 endif()