mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
meson: skip translations if gettext is not available
This commit is contained in:
parent
0ecac8f68a
commit
ef557b5667
1 changed files with 5 additions and 1 deletions
|
@ -461,6 +461,10 @@ subdir('sys')
|
|||
subdir('ext')
|
||||
subdir('tests')
|
||||
subdir('pkgconfig')
|
||||
|
||||
# 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…
Reference in a new issue