mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
meson: add libopenjp2 fallback for openjpeg
As a wrap is now available in gst-build, the fallback can be used. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1270>
This commit is contained in:
parent
a754c67c05
commit
3f16353d64
1 changed files with 3 additions and 1 deletions
|
@ -10,7 +10,9 @@ if get_option('openjpeg').disabled()
|
|||
subdir_done()
|
||||
endif
|
||||
|
||||
openjpeg_dep = dependency('libopenjp2', version : '>=2.2', required : get_option('openjpeg'))
|
||||
openjpeg_dep = dependency('libopenjp2', version : '>=2.2',
|
||||
fallback : ['libopenjp2', 'libopenjp2_dep'],
|
||||
required : get_option('openjpeg'))
|
||||
|
||||
if openjpeg_dep.found()
|
||||
gstopenjpeg = library('gstopenjpeg',
|
||||
|
|
Loading…
Reference in a new issue