We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 29e1346 + 79a0395 commit c3164a8Copy full SHA for c3164a8
meson.build
@@ -14,7 +14,9 @@ if gtkver == 3
14
default_options: ['default_library=static', 'introspection=false'],
15
required: false,
16
)
17
- gtk_layer_shell = proj.get_variable('gtk_layer_shell')
+ if proj.found()
18
+ gtk_layer_shell = proj.get_variable('gtk_layer_shell')
19
+ endif
20
endif
21
else
22
gtk = dependency('gtk+-2.0')
src/meson.build
@@ -73,7 +73,7 @@ if vte.found()
73
74
cfg.set('HAVE_VTE', 0)
75
76
-if gtkver == 3
+if gtkver == 3 and gtk_layer_shell.found()
77
dep += [gtk_layer_shell]
78
cfg.set('HAVE_GTK_LAYER_SHELL', 1)
79
0 commit comments