mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
meson: skip translations if gettext is not available
This commit is contained in:
parent
2ee4ab1ebb
commit
5e04350ac1
1 changed files with 5 additions and 1 deletions
|
@ -264,7 +264,11 @@ subdir('sys')
|
||||||
subdir('tools')
|
subdir('tools')
|
||||||
subdir('tests')
|
subdir('tests')
|
||||||
subdir('pkgconfig')
|
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'
|
if build_machine.system() == 'windows'
|
||||||
message('Disabling gtk-doc while building on Windows')
|
message('Disabling gtk-doc while building on Windows')
|
||||||
|
|
Loading…
Reference in a new issue