mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04: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
|
|
@ -9,7 +9,7 @@ wlr_files += files(
|
|||
)
|
||||
|
||||
|
||||
if conf_data.get('WLR_HAS_XDG_FOREIGN', 0) == 1
|
||||
if features.get('xdg-foreign')
|
||||
if uuid.found()
|
||||
wlr_deps += uuid
|
||||
add_project_arguments('-DHAS_LIBUUID=1', language: 'c')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue