aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Engestrom2018-01-26 09:19:03 -0600
committerEric Engestrom2018-01-29 09:41:52 -0600
commitec53f4808c8ccd73cd2dbed8b53a4e961e3a2b76 (patch)
tree4ed76e932f9b45e7a7558c8b7970672a73c3cc4f /meson.build
parentee47329bef727a109418f7134638e0fe67210748 (diff)
downloadexternal-libgbm-ec53f4808c8ccd73cd2dbed8b53a4e961e3a2b76.tar.gz
external-libgbm-ec53f4808c8ccd73cd2dbed8b53a4e961e3a2b76.tar.xz
external-libgbm-ec53f4808c8ccd73cd2dbed8b53a4e961e3a2b76.zip
always define HAVE_FREEDRENO_KGSL
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build8
1 files changed, 3 insertions, 5 deletions
diff --git a/meson.build b/meson.build
index 7298f741..c7245dda 100644
--- a/meson.build
+++ b/meson.build
@@ -255,14 +255,12 @@ foreach t : [[with_intel, 'INTEL'], [with_vmwgfx, 'VMWGFX'],
255 [with_nouveau, 'NOUVEAU'], 255 [with_nouveau, 'NOUVEAU'],
256 [with_exynos, 'EXYNOS'], 256 [with_exynos, 'EXYNOS'],
257 [with_vc4, 'VC4'], 257 [with_vc4, 'VC4'],
258 [with_freedreno_kgsl, 'FREEDRENO_KGSL'],
258 [with_radeon, 'RADEON']] 259 [with_radeon, 'RADEON']]
259 config.set10('HAVE_@0@'.format(t[1]), t[0]) 260 config.set10('HAVE_@0@'.format(t[1]), t[0])
260endforeach 261endforeach
261if with_freedreno_kgsl 262if with_freedreno_kgsl and not with_freedreno
262 if not with_freedreno 263 error('cannot enable freedreno-kgsl without freedreno support')
263 error('cannot enable freedreno-kgsl without freedreno support')
264 endif
265 config.set10('HAVE_FREEDRENO_KGSL', true)
266endif 264endif
267if dep_cairo.found() 265if dep_cairo.found()
268 config.set10('HAVE_CAIRO', true) 266 config.set10('HAVE_CAIRO', true)