mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-08 16:35:40 +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('sys')
|
||||||
subdir('ext')
|
subdir('ext')
|
||||||
subdir('tests')
|
subdir('tests')
|
||||||
subdir('po')
|
|
||||||
subdir('pkgconfig')
|
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)
|
configure_file(output : 'config.h', configuration : cdata)
|
||||||
|
|
||||||
python3 = import('python3').find_python()
|
python3 = import('python3').find_python()
|
||||||
|
|
Loading…
Reference in a new issue