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:
@@ -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')
|
||||||
|
Reference in New Issue
Block a user