mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-25 08:32:30 +00:00
6f873078d4
This allows us to easily iterate on all features and only deal with bools.
21 lines
338 B
Meson
21 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
|