kdeconnect-kde/plugins/mmtelephony/CMakeLists.txt
Heiko Becker 97e47efdf6 Make mmtelephony plugin optional
I see little purpose in pulling that stack in on a desktop computer,
which doesn't even have a modem.
2023-03-20 20:44:14 +01:00

20 lines
606 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
KF5::ModemManagerQt
KF5::I18n
)