From cb6b1193c8aff879c79ceda8cf5bf737837fcb05 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Fri, 25 Nov 2022 18:08:43 +0100 Subject: render/allocator/gbm: use internal_config Removes a project argument. --- render/allocator/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'render/allocator/meson.build') diff --git a/render/allocator/meson.build b/render/allocator/meson.build index 97c5a1c3..1fdfe557 100644 --- a/render/allocator/meson.build +++ b/render/allocator/meson.build @@ -21,5 +21,5 @@ if gbm.found() features += { 'gbm-allocator': true } has = cc.has_function('gbm_bo_get_fd_for_plane', dependencies: [gbm]) - add_project_arguments('-DHAS_GBM_BO_GET_FD_FOR_PLANE=@0@'.format(has.to_int()), language: 'c') + internal_config.set10('HAS_GBM_BO_GET_FD_FOR_PLANE', has) endif -- cgit v1.2.3