2021-06-01 18:53:56 +01:00
|
|
|
if (WIN32)
|
|
|
|
list(APPEND lockdevice_SRCS lockdeviceplugin-win.cpp)
|
|
|
|
else ()
|
|
|
|
list(APPEND lockdevice_SRCS lockdeviceplugin.cpp)
|
|
|
|
endif()
|
|
|
|
|
2023-07-20 14:31:40 +01:00
|
|
|
kdeconnect_add_plugin(kdeconnect_lockdevice SOURCES ${lockdevice_SRCS})
|
2015-07-22 02:37:34 +01:00
|
|
|
|
2023-07-20 14:31:40 +01:00
|
|
|
ecm_qt_declare_logging_category(kdeconnect_lockdevice
|
|
|
|
HEADER plugin_lock_debug.h
|
|
|
|
IDENTIFIER KDECONNECT_PLUGIN_LOCKREMOTE CATEGORY_NAME kdeconnect.plugin.lock
|
|
|
|
DEFAULT_SEVERITY Warning
|
|
|
|
EXPORT kdeconnect-kde DESCRIPTION "kdeconnect (plugin lockremote)")
|
2023-07-24 13:18:47 +01:00
|
|
|
|
2015-07-22 02:37:34 +01:00
|
|
|
target_link_libraries(kdeconnect_lockdevice
|
|
|
|
kdeconnectcore
|
2023-07-24 13:18:47 +01:00
|
|
|
kdeconnectinterfaces
|
2022-10-29 15:51:41 +01:00
|
|
|
Qt::DBus
|
2023-04-15 11:57:52 +01:00
|
|
|
KF${QT_MAJOR_VERSION}::I18n
|
2015-07-22 02:37:34 +01:00
|
|
|
)
|