thorvg/src/loaders/external_webp/meson.build
Junsu Choi df4f93e79f loader/webp: Support static webp loader
Built to libwebp code in to support the static option of webp loader.
Code from :https://github.com/jacklicn/libwebp

This forking version only contains the minimal webp decoding feature.

Binary Size: +68kb

Co-authored-by: Hermet Park <hermet@lottiefiles.com>

issue: https://github.com/thorvg/thorvg/issues/1427
2024-02-07 10:58:25 +09:00

14 lines
No EOL
304 B
Meson

source_file = [
'tvgWebpLoader.h',
'tvgWebpLoader.cpp',
]
webp_dep = dependency('libwebp', required: false)
if webp_dep.found()
subloader_dep += [declare_dependency(
include_directories : include_directories('.'),
dependencies : webp_dep,
sources : source_file
)]
endif