diff options
author | Eric Engestrom | 2018-01-26 09:15:29 -0600 |
---|---|---|
committer | Eric Engestrom | 2018-01-29 09:41:52 -0600 |
commit | d2b0a4ec70d93040159af0cbc15717d35812ffc5 (patch) | |
tree | 13a75d116b795d00dfb57c95248ed7768c145cb2 /meson.build | |
parent | ec53f4808c8ccd73cd2dbed8b53a4e961e3a2b76 (diff) | |
download | external-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.build | 4 |
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]) |
261 | endforeach | 262 | endforeach |
262 | if with_freedreno_kgsl and not with_freedreno | 263 | if 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') |
264 | endif | 265 | endif |
265 | if dep_cairo.found() | ||
266 | config.set10('HAVE_CAIRO', true) | ||
267 | endif | ||
268 | if dep_valgrind.found() | 266 | if dep_valgrind.found() |
269 | config.set10('HAVE_VALGRIND', true) | 267 | config.set10('HAVE_VALGRIND', true) |
270 | endif | 268 | endif |