mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-03 14:08:56 +00:00
meson: Fix build with x11 dependency is disabled
gtk_x11_dep is used unconditionally in tests/icles/meson.build
This commit is contained in:
parent
28caf92587
commit
be79f74c4d
1 changed files with 2 additions and 0 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue