Skip to content

Fix subproject build with meson 0.50.0

Michael Catanzaro requested to merge mcatanzaro/subproject into master

meson 0.50.0 gives a fatal error if add_global_arguments() is used in a subproject. We could easily set -DG_DISABLE_CAST_CHECKS globally only when not building a subproject, or just set it only for release_args.

Fixes epiphany#699 (closed)

CC: @jbicha

Merge request reports