thorvg/src/bindings/meson.build
Elliott Sales de Andrade 5f08b9ade4 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-08-19 17:42:40 +09:00

7 lines
142 B
Meson

if get_option('bindings').contains('capi')
subdir('capi')
endif
if get_option('bindings').contains('wasm_beta')
subdir('wasm')
endif