mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
jpeg: Add support for meson fallback
Allow building jpeg plugin by using meson fallback Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/1041>
This commit is contained in:
parent
6858c8222c
commit
db7d14db5a
1 changed files with 2 additions and 1 deletions
|
@ -5,7 +5,8 @@ jpeg_sources = [
|
|||
'gstjpegdec.c',
|
||||
]
|
||||
|
||||
jpeglib = dependency('libjpeg', required : get_option('jpeg'))
|
||||
jpeglib = dependency('libjpeg', required : get_option('jpeg'),
|
||||
fallback: ['libjpeg-turbo', 'jpeg_dep'])
|
||||
|
||||
if jpeglib.found()
|
||||
gstjpeg = library('gstjpeg',
|
||||
|
|
Loading…
Reference in a new issue