Rename ENABLE_GSTREAMERMM to ENABLE_FLOW.
[pulseview.git] / main.cpp
index 857c36a9c224567f78cd055a70df2566ffdbe2ad..d4428ae8bd1c5d7dd8fe71f345e4a50937994e60 100644 (file)
--- a/main.cpp
+++ b/main.cpp
@@ -26,8 +26,9 @@
 #include <getopt.h>
 #include <vector>
 
-#ifdef ENABLE_GSTREAMERMM
+#ifdef ENABLE_FLOW
 #include <gstreamermm.h>
+#include <libsigrokflow/libsigrokflow.hpp>
 #endif
 
 #include <libsigrokcxx/libsigrokcxx.hpp>
@@ -173,7 +174,7 @@ int main(int argc, char *argv[])
        bool do_scan = true;
        bool show_version = false;
 
-#ifdef ENABLE_GSTREAMERMM
+#ifdef ENABLE_FLOW
        // Initialise gstreamermm. Must be called before any other GLib stuff.
        Gst::init();
 #endif