summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinson Lee <vlee@freedesktop.org>2019-01-26 00:21:06 -0800
committerEmil Velikov <emil.l.velikov@gmail.com>2019-01-30 17:33:50 +0000
commitf275e16c9edca2b397d074cb10a3d273ea84e941 (patch)
tree3fab6b834b19d456444897cd5877add9451e18f7
parent813f0a82960ed637e862ee596cef23c6574a7888 (diff)
meson: Fix typo.
meson.build:166:21: ERROR: Unknown method "verson_compare" for a string. Fixes: c1efa240c91e ("meson: Add warnings and errors when using ICC") Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com> Reviewed-by: Eric Engestrom <eric.engestrom@intel.com> Cc: 18.3 <mesa-stable@lists.freedesktop.org> (cherry picked from commit be5b271ea76d81d32e3dc490ef5b32a61c3fb965)
-rw-r--r--meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index 82378419a18..b934d0bfc76 100644
--- a/meson.build
+++ b/meson.build
@@ -166,9 +166,9 @@ with_gallium_virgl = _drivers.contains('virgl')
with_gallium_swr = _drivers.contains('swr')
if cc.get_id() == 'intel'
- if meson.version().verson_compare('< 0.49.0')
+ if meson.version().version_compare('< 0.49.0')
error('Meson does not have sufficient support of ICC before 0.49.0 to compile mesa')
- elif with_gallium_swr and meson.version().verson_compare('== 0.49.0')
+ elif with_gallium_swr and meson.version().version_compare('== 0.49.0')
warning('Meson as of 0.49.0 is sufficient for compiling mesa with ICC, but there are some caveats with SWR. 0.49.1 should resolve all of these')
endif
endif