diff options
author | Eric Engestrom <eric.engestrom@imgtec.com> | 2018-01-26 15:19:03 +0000 |
---|---|---|
committer | Eric Engestrom <eric.engestrom@imgtec.com> | 2018-01-29 15:41:52 +0000 |
commit | ec53f4808c8ccd73cd2dbed8b53a4e961e3a2b76 (patch) | |
tree | 4ed76e932f9b45e7a7558c8b7970672a73c3cc4f /meson.build | |
parent | ee47329bef727a109418f7134638e0fe67210748 (diff) | |
download | libdrm-sun4i-ec53f4808c8ccd73cd2dbed8b53a4e961e3a2b76.tar.gz libdrm-sun4i-ec53f4808c8ccd73cd2dbed8b53a4e961e3a2b76.tar.bz2 libdrm-sun4i-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.build | 8 |
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'], [with_nouveau, 'NOUVEAU'], [with_exynos, 'EXYNOS'], [with_vc4, 'VC4'], + [with_freedreno_kgsl, 'FREEDRENO_KGSL'], [with_radeon, 'RADEON']] config.set10('HAVE_@0@'.format(t[1]), t[0]) endforeach -if with_freedreno_kgsl - if not with_freedreno - error('cannot enable freedreno-kgsl without freedreno support') - endif - config.set10('HAVE_FREEDRENO_KGSL', true) +if with_freedreno_kgsl and not with_freedreno + error('cannot enable freedreno-kgsl without freedreno support') endif if dep_cairo.found() config.set10('HAVE_CAIRO', true) |