aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Engestrom2018-01-26 09:15:29 -0600
committerEric Engestrom2018-01-29 09:41:52 -0600
commitd2b0a4ec70d93040159af0cbc15717d35812ffc5 (patch)
tree13a75d116b795d00dfb57c95248ed7768c145cb2 /meson.build
parentec53f4808c8ccd73cd2dbed8b53a4e961e3a2b76 (diff)
downloadexternal-libgbm-d2b0a4ec70d93040159af0cbc15717d35812ffc5.tar.gz
external-libgbm-d2b0a4ec70d93040159af0cbc15717d35812ffc5.tar.xz
external-libgbm-d2b0a4ec70d93040159af0cbc15717d35812ffc5.zip
always define HAVE_CAIRO
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.build4
1 files changed, 1 insertions, 3 deletions
diff --git a/meson.build b/meson.build
index c7245dda..15a1d405 100644
--- a/meson.build
+++ b/meson.build
@@ -256,15 +256,13 @@ foreach t : [[with_intel, 'INTEL'], [with_vmwgfx, 'VMWGFX'],
256 [with_exynos, 'EXYNOS'], 256 [with_exynos, 'EXYNOS'],
257 [with_vc4, 'VC4'], 257 [with_vc4, 'VC4'],
258 [with_freedreno_kgsl, 'FREEDRENO_KGSL'], 258 [with_freedreno_kgsl, 'FREEDRENO_KGSL'],
259 [dep_cairo.found(), 'CAIRO'],
259 [with_radeon, 'RADEON']] 260 [with_radeon, 'RADEON']]
260 config.set10('HAVE_@0@'.format(t[1]), t[0]) 261 config.set10('HAVE_@0@'.format(t[1]), t[0])
261endforeach 262endforeach
262if with_freedreno_kgsl and not with_freedreno 263if with_freedreno_kgsl and not with_freedreno
263 error('cannot enable freedreno-kgsl without freedreno support') 264 error('cannot enable freedreno-kgsl without freedreno support')
264endif 265endif
265if dep_cairo.found()
266 config.set10('HAVE_CAIRO', true)
267endif
268if dep_valgrind.found() 266if dep_valgrind.found()
269 config.set10('HAVE_VALGRIND', true) 267 config.set10('HAVE_VALGRIND', true)
270endif 268endif