Skip warning when building as subproject and ragel is missing
It is unlikely to be a developer build in that case.
This commit is contained in:
parent
d11455f285
commit
334bd013d9
|
@ -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…
Reference in New Issue