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:
28caf92
)
meson: Fix build with x11 dependency is disabled
author
Nirbheek Chauhan
<nirbheek@centricular.com>
Tue, 31 Jul 2018 18:02:42 +0000
(23:32 +0530)
committer
Nirbheek Chauhan
<nirbheek@centricular.com>
Tue, 31 Jul 2018 18:02:42 +0000
(23:32 +0530)
gtk_x11_dep is used unconditionally in tests/icles/meson.build
meson.build
patch
|
blob
|
history
diff --git
a/meson.build
b/meson.build
index
4393440
..
9198b6d
100644
(file)
--- a/
meson.build
+++ b/
meson.build
@@
-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'