meson: skip translations if gettext is not available

This commit is contained in:
Tim-Philipp Müller 2017-12-26 13:50:24 +01:00
parent f88a7801e4
commit 7d97bf2f81

View file

@ -280,9 +280,13 @@ subdir('gst')
subdir('sys')
subdir('ext')
subdir('tests')
subdir('po')
subdir('pkgconfig')
# xgettext is optional (on Windows for instance)
if find_program('xgettext', required : false).found()
subdir('po')
endif
configure_file(output : 'config.h', configuration : cdata)
python3 = import('python3').find_python()