# TODO: remove gstreamer dependency by updating nnstreamer_plugin_api.h
gst_api_version = '1.0'
glib_dep = dependency('glib-2.0')
+gmodule_dep = dependency('gmodule-2.0')
gst_dep = dependency('gstreamer-'+gst_api_version)
nntrainer_prefix = get_option('prefix')
-nnstreamer_filter_nntrainer_deps = [glib_dep, gst_dep, nntrainer_dep, nnstreamer_dep]
+nnstreamer_filter_nntrainer_deps = [glib_dep, gmodule_dep, gst_dep, nntrainer_dep, nnstreamer_dep]
nnstreamer_libdir = join_paths(nntrainer_prefix, get_option('libdir'))
subplugin_install_prefix = join_paths(nnstreamer_libdir, 'nnstreamer')