meson.build: include CMake name of libpng in dependency search

This commit is contained in:
TheLastRar 2026-04-13 18:43:20 +01:00
parent 76e3f25e41
commit 77a840cf25

View file

@ -339,7 +339,7 @@ if bzip2_dep.found()
endif
# PNG support.
libpng_dep = dependency('libpng',
libpng_dep = dependency('libpng', 'PNG',
required: get_option('png'),
fallback: 'libpng')