Warning, /plasma/plasma-desktop/kcms/tablet/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 add_definitions(-DTRANSLATION_DOMAIN=\"kcm_tablet\")
0002 
0003 include(ECMQtDeclareLoggingCategory)
0004 ecm_qt_declare_logging_category(common_SRCS
0005     HEADER
0006         logging.h
0007     IDENTIFIER
0008         KCM_TABLET
0009     CATEGORY_NAME
0010         kcm_tablet
0011     DEFAULT_SEVERITY
0012         Critical
0013     DESCRIPTION
0014         "KCM for tablet input"
0015     EXPORT
0016         kcm_tablet
0017 )
0018 kcoreaddons_add_plugin(kcm_tablet INSTALL_NAMESPACE "plasma/kcms/systemsettings")
0019 if (QT_MAJOR_VERSION EQUAL "5")
0020     ecm_add_qtwayland_client_protocol(common_SRCS
0021         PROTOCOL ${WaylandProtocols_DATADIR}/unstable/tablet/tablet-unstable-v2.xml
0022         BASENAME tablet-unstable-v2
0023     )
0024 else()
0025     qt6_generate_wayland_protocol_client_sources(kcm_tablet FILES
0026         ${WaylandProtocols_DATADIR}/unstable/tablet/tablet-unstable-v2.xml)
0027 endif()
0028 ecm_qt_install_logging_categories(
0029     EXPORT kcm_tablet
0030     DESTINATION "${KDE_INSTALL_LOGGINGCATEGORIESDIR}"
0031 )
0032 
0033 kcmutils_generate_desktop_file(kcm_tablet)
0034 
0035 target_sources(kcm_tablet PRIVATE
0036     ${common_SRCS}
0037     kcmtablet.cpp
0038     tabletevents.cpp
0039 )
0040 
0041 target_link_libraries(kcm_tablet
0042     KF5::CoreAddons
0043     KF5::ConfigCore
0044     KF5::I18n
0045     KF5::QuickAddons
0046 
0047     Qt::DBus
0048     Qt::WaylandClient
0049     Qt::GuiPrivate
0050     Wayland::Client
0051     kwindevices
0052 )
0053 
0054 kpackage_install_package(package kcm_tablet kcms)