aboutsummaryrefslogtreecommitdiffstats
path: root/src/DabMod.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2024-11-25 20:41:57 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2024-11-25 20:41:57 +0100
commit8b5042b079afd9536a09bf72ead28cd19df0b9d9 (patch)
tree410c99ac25d253e3464b69f8067894958d91a94e /src/DabMod.cpp
parent7f2f5d23fe6eda007c5208b57e6222eb0aa0a595 (diff)
downloaddabmod-8b5042b079afd9536a09bf72ead28cd19df0b9d9.tar.gz
dabmod-8b5042b079afd9536a09bf72ead28cd19df0b9d9.tar.bz2
dabmod-8b5042b079afd9536a09bf72ead28cd19df0b9d9.zip
Fix compilation without zeromq
Diffstat (limited to 'src/DabMod.cpp')
-rw-r--r--src/DabMod.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/DabMod.cpp b/src/DabMod.cpp
index 6b02d75..3b072c1 100644
--- a/src/DabMod.cpp
+++ b/src/DabMod.cpp
@@ -375,7 +375,9 @@ int launch_modulator(int argc, char* argv[])
mod_settings_t mod_settings;
parse_args(argc, argv, mod_settings);
+#if defined(HAVE_ZEROMQ)
etiLog.register_backend(make_shared<LogToEventSender>());
+#endif // defined(HAVE_ZEROMQ)
etiLog.level(info) << "Configuration parsed. Starting up version " <<
#if defined(GITVERSION)