mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-14 03:54:11 +00:00
meson: gl: find libjpeg via pkg-config
This effectively (but optionally) requires libjpeg-turbo which ships with a .pc file and is what pretty much everyone these days uses anyway for libjpeg, so shouldn't be a problem hopefully. https://bugzilla.gnome.org/show_bug.cgi?id=796947
This commit is contained in:
parent
73828a1a5c
commit
cec90050b0
1 changed files with 1 additions and 4 deletions
|
@ -72,10 +72,7 @@ if graphene_dep.found()
|
|||
endif
|
||||
|
||||
png_dep = dependency('libpng', version : '>=1.0', required : get_option('gl-png'))
|
||||
jpeg_dep = cc.find_library('jpeg-mmx', required : false)
|
||||
if not jpeg_dep.found()
|
||||
jpeg_dep = cc.find_library('jpeg', required : get_option('gl-jpeg'))
|
||||
endif
|
||||
jpeg_dep = dependency('libjpeg', required : get_option('gl-jpeg'))
|
||||
|
||||
if png_dep.found()
|
||||
optional_deps += png_dep
|
||||
|
|
Loading…
Reference in a new issue