mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
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>
This commit is contained in:
committed by
Adam Jackson
parent
86a89dd602
commit
d770f92932
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user