projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2ee4ab1
)
meson: skip translations if gettext is not available
author
Tim-Philipp Müller
<tim@centricular.com>
Tue, 26 Dec 2017 12:49:25 +0000
(13:49 +0100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Tue, 26 Dec 2017 12:49:25 +0000
(13:49 +0100)
meson.build
patch
|
blob
|
history
diff --git
a/meson.build
b/meson.build
index
d099d45
..
80930ce
100644
(file)
--- a/
meson.build
+++ b/
meson.build
@@
-264,7
+264,11
@@
subdir('sys')
subdir('tools')
subdir('tests')
subdir('pkgconfig')
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')
if build_machine.system() == 'windows'
message('Disabling gtk-doc while building on Windows')