Warning, /system/plasma-pk-updates/src/declarative/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 add_definitions(-DTRANSLATION_DOMAIN="pkupdates")
0002 
0003 set(plasmapk_qmlplugins_SRCS
0004    qmlplugins.cpp
0005    pkupdates.cpp
0006    PkStrings.cpp
0007 )
0008 
0009 add_library(plasmapk_qmlplugins SHARED ${plasmapk_qmlplugins_SRCS})
0010 
0011 target_link_libraries(plasmapk_qmlplugins
0012     Qt5::Core
0013     Qt5::Qml
0014     Qt5::DBus
0015     KF5::I18n
0016     KF5::CoreAddons
0017     KF5::Notifications
0018     KF5::ConfigCore
0019     KF5::Solid
0020     PK::packagekitqt5
0021 )
0022 
0023 install(TARGETS plasmapk_qmlplugins DESTINATION ${QML_INSTALL_DIR}/org/kde/plasma/PackageKit)
0024 install(FILES qmldir DESTINATION ${QML_INSTALL_DIR}/org/kde/plasma/PackageKit)
0025 install(FILES plasma_pk_updates.notifyrc DESTINATION  ${KNOTIFYRC_INSTALL_DIR} )
0026 
0027 # test binary
0028 set(plasmapk_console_SRCS
0029    pkupdates.cpp
0030    PkStrings.cpp
0031    main.cpp
0032 )
0033 
0034 add_executable(plasmapk-console ${plasmapk_console_SRCS})
0035 
0036 target_link_libraries(plasmapk-console
0037     Qt5::Core
0038     KF5::I18n
0039     KF5::CoreAddons
0040     KF5::ConfigCore
0041     KF5::Solid
0042     KF5::Notifications
0043     PK::packagekitqt5
0044 )