Skip to content

Commit

Permalink
meson: Fix build with x11 dependency is disabled
Browse files Browse the repository at this point in the history
gtk_x11_dep is used unconditionally in tests/icles/meson.build
  • Loading branch information
nirbheek committed Jul 31, 2018
1 parent 28caf92 commit be79f74
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions meson.build
Expand Up @@ -222,6 +222,8 @@ gtk_dep = dependency('gtk+-3.0', version : '>= 3.10', required : get_option('exa
# TODO: https://github.com/mesonbuild/meson/issues/3941
if not get_option('x11').disabled()
gtk_x11_dep = dependency('gtk+-x11-3.0', version : '>= 3.10', required : get_option('examples'))
else
gtk_x11_dep = dependency('', required : false)
endif
# gtk+ quartz backend is only available on macOS
if host_system == 'darwin'
Expand Down

0 comments on commit be79f74

Please sign in to comment.