diff options
author | Simon Ser <contact@emersion.fr> | 2022-11-25 18:08:43 +0100 |
---|---|---|
committer | Alexander Orzechowski <alex@ozal.ski> | 2022-12-06 22:39:45 +0000 |
commit | cb6b1193c8aff879c79ceda8cf5bf737837fcb05 (patch) | |
tree | 9feb9f8aadeae62f8d0295e195187e7fe7c931cc /render/allocator/meson.build | |
parent | 311381c6b51eb7b4dbd8bcad41ef67aee6b4f5ed (diff) |
render/allocator/gbm: use internal_config
Removes a project argument.
Diffstat (limited to 'render/allocator/meson.build')
-rw-r--r-- | render/allocator/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
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 |