Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
meson: skip translations if gettext is not available
  • Loading branch information
tp-m committed Dec 26, 2017
1 parent 2ee4ab1 commit 5e04350
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion meson.build
Expand Up @@ -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')
Expand Down

0 comments on commit 5e04350

Please sign in to comment.