mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-15 08:56:26 -05:00
build: use dictionnary for features instead of configuration_data
This allows us to easily iterate on all features and only deal with bools.
This commit is contained in:
parent
2118a3ce47
commit
6f873078d4
7 changed files with 26 additions and 29 deletions
|
|
@ -67,7 +67,7 @@ wlr_files += files(
|
|||
'wlr_xdg_output_v1.c',
|
||||
)
|
||||
|
||||
if conf_data.get('WLR_HAS_XDG_FOREIGN', 0) == 1
|
||||
if features.get('xdg-foreign')
|
||||
wlr_files += files(
|
||||
'wlr_xdg_foreign_v1.c',
|
||||
'wlr_xdg_foreign_v2.c',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue