mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +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('tests')
|
||||
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'
|
||||
message('Disabling gtk-doc while building on Windows')
|
||||
|
|
Loading…
Reference in a new issue