meson: Define cpp_std in the top-level project()
[platform/upstream/gstreamer.git] / subprojects / gst-plugins-bad / ext / ofa / meson.build
1 ofa_dep = dependency('libofa', version: '>= 0.9.3', required: get_option('ofa'))
2
3 if ofa_dep.found()
4   gstofa = library('gstofa', 'gstofa.c',
5     c_args: gst_plugins_bad_args,
6     include_directories: [configinc],
7     dependencies: [gstaudio_dep, ofa_dep],
8     install: true,
9     install_dir: plugins_install_dir,
10   )
11   pkgconfig.generate(gstofa, install_dir: plugins_pkgconfig_install_dir)
12   plugins += [gstofa]
13 endif