meson: Fix broken str.format usage
str.format used to allow any type as an argument, which often resulted in using an internal string representation. This is considered broken behavior, and is deprecated since Meson 1.3.0. Signed-off-by: Joaquim Monteiro <joaquim.monteiro@protonmail.com>main
parent
fbb83f74d6
commit
764ed8b916
|
@ -235,7 +235,7 @@ config_file = configure_file(
|
|||
configuration : config,
|
||||
output : 'config.h',
|
||||
)
|
||||
add_project_arguments('-include', '@0@'.format(config_file), language : 'c')
|
||||
add_project_arguments('-include', meson.current_build_dir() / 'config.h', language : 'c')
|
||||
|
||||
inc_root = include_directories('.')
|
||||
inc_drm = include_directories('include/drm')
|
||||
|
|
Loading…
Reference in New Issue