wlroots-hyprland/util/meson.build
Simon Ser 6f873078d4 build: use dictionnary for features instead of configuration_data
This allows us to easily iterate on all features and only deal with
bools.
2021-02-15 16:32:33 +01:00

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