mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-25 16:42:26 +00:00
6721444114
We can just use to_int() instead of having two if branches.
17 lines
280 B
Meson
17 lines
280 B
Meson
wlr_files += files(
|
|
'array.c',
|
|
'global.c',
|
|
'log.c',
|
|
'region.c',
|
|
'shm.c',
|
|
'signal.c',
|
|
'time.c',
|
|
)
|
|
|
|
|
|
if features.get('xdg-foreign')
|
|
add_project_arguments('-DHAS_LIBUUID=@0@'.format(uuid.found().to_int()), language: 'c')
|
|
wlr_deps += uuid
|
|
wlr_files += files('uuid.c')
|
|
endif
|