meson: use new warning function

Instead of emulating it with message.

Signed-off-by: Dylan Baker <dylan.c.baker@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Dylan Baker
2018-04-16 15:19:54 -07:00
parent 5608d0a2ce
commit be0a2cfc65

View File

@@ -58,7 +58,7 @@ if with_tools.contains('all')
endif endif
if get_option('texture-float') if get_option('texture-float')
pre_args += '-DTEXTURE_FLOAT_ENABLED' 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 endif
dri_drivers_path = get_option('dri-drivers-path') dri_drivers_path = get_option('dri-drivers-path')