Meson: ensure -Dpng=disabled
does not disable WebP load/save (#2686)
This commit is contained in:
parent
a67d637a3a
commit
802dabc6aa
@ -297,7 +297,7 @@ endif
|
||||
# libwebp ... target 0.6+ to reduce complication
|
||||
# webp has the stuff for handling metadata in two separate libraries -- we
|
||||
# insist on having both of them
|
||||
libwebp_dep = dependency('libwebp', version: '>=0.6', required: get_option('png'))
|
||||
libwebp_dep = dependency('libwebp', version: '>=0.6', required: get_option('webp'))
|
||||
if libwebp_dep.found()
|
||||
libvips_deps += libwebp_dep
|
||||
libvips_deps += dependency('libwebpmux', version: '>=0.6')
|
||||
|
Loading…
Reference in New Issue
Block a user