meson: skip translations if gettext is not available
This commit is contained in:
parent
0ecac8f68a
commit
ef557b5667
@ -461,6 +461,10 @@ subdir('sys')
|
||||
subdir('ext')
|
||||
subdir('tests')
|
||||
subdir('pkgconfig')
|
||||
subdir('po')
|
||||
|
||||
# xgettext is optional (on Windows for instance)
|
||||
if find_program('xgettext', required : false).found()
|
||||
subdir('po')
|
||||
endif
|
||||
|
||||
run_command(python3, '-c', 'import shutil; shutil.copy("hooks/pre-commit.hook", ".git/hooks/pre-commit")')
|
||||
|
Loading…
x
Reference in New Issue
Block a user