aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build11
1 files changed, 7 insertions, 4 deletions
diff --git a/meson.build b/meson.build
index 76a081a9..65366eee 100644
--- a/meson.build
+++ b/meson.build
@@ -251,14 +251,17 @@ if cc.compiles('''int foo_hidden(void) __attribute__((visibility(("hidden"))));'
251 config.set10('HAVE_VISIBILITY', true) 251 config.set10('HAVE_VISIBILITY', true)
252endif 252endif
253 253
254foreach t : [[with_intel, 'INTEL'], [with_vmwgfx, 'VMWGFX'], 254foreach t : [
255 [with_nouveau, 'NOUVEAU'],
256 [with_exynos, 'EXYNOS'], 255 [with_exynos, 'EXYNOS'],
257 [with_vc4, 'VC4'],
258 [with_freedreno_kgsl, 'FREEDRENO_KGSL'], 256 [with_freedreno_kgsl, 'FREEDRENO_KGSL'],
257 [with_intel, 'INTEL'],
258 [with_nouveau, 'NOUVEAU'],
259 [with_radeon, 'RADEON'],
260 [with_vc4, 'VC4'],
261 [with_vmwgfx, 'VMWGFX'],
259 [dep_cairo.found(), 'CAIRO'], 262 [dep_cairo.found(), 'CAIRO'],
260 [dep_valgrind.found(), 'VALGRIND'], 263 [dep_valgrind.found(), 'VALGRIND'],
261 [with_radeon, 'RADEON']] 264 ]
262 config.set10('HAVE_@0@'.format(t[1]), t[0]) 265 config.set10('HAVE_@0@'.format(t[1]), t[0])
263endforeach 266endforeach
264if with_freedreno_kgsl and not with_freedreno 267if with_freedreno_kgsl and not with_freedreno