20 lines
642 B
CMake
20 lines
642 B
CMake
set(debug_file_SRCS)
|
|
ecm_qt_declare_logging_category(
|
|
debug_file_SRCS HEADER plugin_mmtelephony_debug.h
|
|
IDENTIFIER KDECONNECT_PLUGIN_MMTELEPHONY CATEGORY_NAME kdeconnect.plugin.mmtelephony
|
|
DEFAULT_SEVERITY Warning
|
|
EXPORT kdeconnect-kde DESCRIPTION "kdeconnect (plugin mmtelephony)")
|
|
|
|
set(kdeconnect_mmtelephony_SRCS
|
|
mmtelephonyplugin.cpp
|
|
${debug_file_SRCS}
|
|
)
|
|
|
|
kdeconnect_add_plugin(kdeconnect_mmtelephony SOURCES ${kdeconnect_mmtelephony_SRCS})
|
|
|
|
target_link_libraries(kdeconnect_mmtelephony
|
|
kdeconnectcore
|
|
Qt${QT_MAJOR_VERSION}::DBus
|
|
KF${QT_MAJOR_VERSION}::ModemManagerQt
|
|
KF${QT_MAJOR_VERSION}::I18n
|
|
)
|