mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-01 16:55:59 +01:00
6f873078d4
This allows us to easily iterate on all features and only deal with bools.
20 lines
338 B
Meson
20 lines
338 B
Meson
wlr_files += files(
|
|
'array.c',
|
|
'global.c',
|
|
'log.c',
|
|
'region.c',
|
|
'shm.c',
|
|
'signal.c',
|
|
'time.c',
|
|
)
|
|
|
|
|
|
if features.get('xdg-foreign')
|
|
if uuid.found()
|
|
wlr_deps += uuid
|
|
add_project_arguments('-DHAS_LIBUUID=1', language: 'c')
|
|
else
|
|
add_project_arguments('-DHAS_LIBUUID=0', language: 'c')
|
|
endif
|
|
wlr_files += files('uuid.c')
|
|
endif
|