mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
meson: skip translations if gettext is not available
This commit is contained in:
parent
ce00ec8bce
commit
d51ff55af1
1 changed files with 5 additions and 1 deletions
|
@ -434,9 +434,13 @@ subdir('plugins')
|
||||||
subdir('tools')
|
subdir('tools')
|
||||||
subdir('pkgconfig')
|
subdir('pkgconfig')
|
||||||
subdir('tests')
|
subdir('tests')
|
||||||
subdir('po')
|
|
||||||
subdir('data')
|
subdir('data')
|
||||||
|
|
||||||
|
# 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)
|
||||||
|
|
||||||
if build_machine.system() == 'windows'
|
if build_machine.system() == 'windows'
|
||||||
|
|
Loading…
Reference in a new issue