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. 2
      src/meson.build

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

Loading…
Cancel
Save