mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-26 05:21:00 +00:00
meson: add dav1d option
Allow to ensure that the plugin is actually build.
This commit is contained in:
parent
46dda60db9
commit
13d4029f70
2 changed files with 2 additions and 1 deletions
|
@ -39,7 +39,7 @@ plugins_rep = {
|
|||
|
||||
exclude = []
|
||||
|
||||
if dependency('dav1d', required : false).found()
|
||||
if dependency('dav1d', required : get_option('dav1d')).found()
|
||||
plugins_rep += {'gst-plugin-dav1d' : 'libgstrsdav1d'}
|
||||
else
|
||||
exclude += ['gst-plugin-dav1d']
|
||||
|
|
1
meson_options.txt
Normal file
1
meson_options.txt
Normal file
|
@ -0,0 +1 @@
|
|||
option('dav1d', type : 'feature', value : 'auto', description : 'Build dav1d plugin')
|
Loading…
Reference in a new issue