Meson: ensure -Dpng=disabled does not disable WebP load/save (#2686)

This commit is contained in:
Kleis Auke Wolthuizen 2022-02-25 20:04:07 +01:00 committed by GitHub
parent a67d637a3a
commit 802dabc6aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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')