wlroots/util/meson.build
Simon Ser 6721444114 build: simplify HAS_LIBUUID definition
We can just use to_int() instead of having two if branches.
2021-04-06 20:34:47 +02:00

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