Commit 5e04350a authored by Tim-Philipp Müller's avatar Tim-Philipp Müller

meson: skip translations if gettext is not available

parent 2ee4ab1e
......@@ -264,7 +264,11 @@ subdir('sys')
subdir('tools')
subdir('tests')
subdir('pkgconfig')
subdir('po')
# 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')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment