diff --git a/subprojects/gst-plugins-bad/ext/voamrwbenc/meson.build b/subprojects/gst-plugins-bad/ext/voamrwbenc/meson.build index f593b8c43f..34603f6918 100644 --- a/subprojects/gst-plugins-bad/ext/voamrwbenc/meson.build +++ b/subprojects/gst-plugins-bad/ext/voamrwbenc/meson.build @@ -29,9 +29,9 @@ if voamrwbenc_dep.found() install_dir: plugins_install_dir, ) plugins += [gstvoamrwbenc] -endif -install_data('GstVoAmrwbEnc.prs', install_dir: presetdir) -env = environment() -env.prepend('GST_PRESET_PATH', meson.current_source_dir()) -meson.add_devenv(env) + install_data('GstVoAmrwbEnc.prs', install_dir: presetdir) + env = environment() + env.prepend('GST_PRESET_PATH', meson.current_source_dir()) + meson.add_devenv(env) +endif