Skip warning when building as subproject and ragel is missing

It is unlikely to be a developer build in that case.
pull/3621/head
Xavier Claessens 3 years ago committed by Khaled Hosny
parent d11455f285
commit 334bd013d9
  1. 4
      src/meson.build

@ -324,7 +324,9 @@ if not has_ragel and get_option('ragel_subproject')
has_ragel = true
endif
if not has_ragel
warning('You have to install ragel if you are going to develop HarfBuzz itself')
if not meson.is_subproject()
warning('You have to install ragel if you are going to develop HarfBuzz itself')
endif
else
ragel_helper = find_program('gen-ragel-artifacts.py')
foreach rl : hb_base_ragel_sources

Loading…
Cancel
Save