c7cee37330
Uses KPluginLoader+KPluginMetadata instead. Describes plugins in json instead of desktop files. These desktop files are then embedded into the .so file. All the plugins will be in a kdeconnect/ directory, and those will be the ones to look for. Note it doesn't drop the KService dependency as KIOCore is a KDE Connect dependency as well. REVIEW: 123042
13 lines
272 B
CMake
13 lines
272 B
CMake
set(kdeconnect_ping_SRCS
|
|
pingplugin.cpp
|
|
)
|
|
|
|
kdeconnect_add_plugin(kdeconnect_ping JSON kdeconnect_ping.json SOURCES ${kdeconnect_ping_SRCS})
|
|
|
|
target_link_libraries(kdeconnect_ping
|
|
kdeconnectcore
|
|
Qt5::DBus
|
|
KF5::I18n
|
|
KF5::Service
|
|
KF5::Notifications
|
|
)
|