meson: use new warning function
authorDylan Baker <dylan@pnwbakers.com>
Mon, 16 Apr 2018 22:19:54 +0000 (15:19 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Tue, 24 Apr 2018 21:08:15 +0000 (14:08 -0700)
Instead of emulating it with message.

Signed-off-by: Dylan Baker <dylan.c.baker@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
meson.build

index b169fb0cf200f6b433237c4d12491fd0945117ad..590ac40a781ee67562aaaa9f3e83d9ee72f8d6f7 100644 (file)
@@ -58,7 +58,7 @@ if with_tools.contains('all')
 endif
 if get_option('texture-float')
   pre_args += '-DTEXTURE_FLOAT_ENABLED'
-  message('WARNING: Floating-point texture enabled. Please consult docs/patents.txt and your lawyer before building mesa.')
+  warning('Floating-point texture enabled. Please consult docs/patents.txt and your lawyer before building mesa.')
 endif
 
 dri_drivers_path = get_option('dri-drivers-path')