meson: skip translations if gettext is not available

This commit is contained in:
Tim-Philipp Müller 2017-12-26 13:49:25 +01:00
parent 2ee4ab1ebb
commit 5e04350ac1

View file

@ -264,7 +264,11 @@ subdir('sys')
subdir('tools')
subdir('tests')
subdir('pkgconfig')
# xgettext is optional (on Windows for instance)
if find_program('xgettext', required : false).found()
subdir('po')
endif
if build_machine.system() == 'windows'
message('Disabling gtk-doc while building on Windows')