thorvg/tools/meson.build
Elliott Sales de Andrade ee19753f36 build: Remove redundant comparisons
If a Meson option is typed as `boolean`, the `get_option` returns a
boolean, and comparing it with `true` is redundant. Meson also errors if
you try to compare across types, so it couldn't _not_ be a boolean.

Also, Meson is not C, so no need for parentheses around `if` conditions.
2024-09-30 16:44:21 +09:00

15 lines
192 B
Meson

if lib_type == 'static'
compiler_flags += ['-DTVG_STATIC']
endif
if svg2png
subdir('svg2png')
endif
if svg2tvg
subdir('svg2tvg')
endif
if lottie2gif
subdir('lottie2gif')
endif