[Mesa-dev] [PATCH 7/7] meson: use new warning function

Dylan Baker dylan at pnwbakers.com
Mon Apr 16 23:49:01 UTC 2018


Instead of emulating it with message.

Signed-off-by: Dylan Baker <dylan.c.baker at intel.com>
---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index b0e2bc1f625..d3480ee5c8c 100644
--- a/meson.build
+++ b/meson.build
@@ -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')
-- 
2.17.0



More information about the mesa-dev mailing list