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
f88a7801e4
commit
7d97bf2f81
1 changed files with 5 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue