meson: Fix invalid keyword warning

"required" keyword is not a valid argument for has_header()

WARNING: Passed invalid keyword argument "required".
WARNING: This will become a hard error in the future.
This commit is contained in:
Seungha Yang 2018-11-13 17:50:26 +09:00 committed by Sebastian Dröge
parent 1d0d395b5c
commit b44d2702ca

View file

@ -11,7 +11,7 @@ if opensles_option.disabled()
subdir_done()
endif
have_opensles_h = cc.has_header('SLES/OpenSLES.h', required : false)
have_opensles_h = cc.has_header('SLES/OpenSLES.h')
if not have_opensles_h and opensles_option.enabled()
error('opensles plugin enabled but SLES/OpenSLES.h not found')
endif