summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorDaniel Stone <daniels@collabora.com>2017-09-20 07:22:13 -0700
committerAdam Jackson <ajax@redhat.com>2017-09-20 13:25:46 -0400
commitd770f9293296d2d3c4e49e94130ff68c0890f625 (patch)
treebcc76b36496c05361fd26adca82ce191f32b7f8d /meson.build
parent86a89dd6020f59964c0e924acbfae9d5a51e3148 (diff)
meson: Use dependency version_compare()
We can check the version on an existing dependency, rather than spinning up pkg-config again just to check the right version. Signed-off-by: Daniel Stone <daniels@collabora.com>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build3
1 files changed, 0 insertions, 3 deletions
diff --git a/meson.build b/meson.build
index ea2a01520..26fd9a893 100644
--- a/meson.build
+++ b/meson.build
@@ -210,9 +210,6 @@ endif
gbm_dep = dependency('', required:false)
if build_glamor
gbm_dep = dependency('gbm', version: '>= 10.2', required: false)
- if gbm_dep.found()
- gbm_linear_dep = dependency('gbm', version: '>= 10.6', required: false)
- endif
endif
# XXX: Add more sha1 options, because Linux is about choice