types: add wlr_xdg_foreign_registry

This commit is contained in:
Ilia Bozhinov 2021-01-05 20:18:38 +01:00 committed by Simon Ser
parent 42d033e738
commit 37602e153b
8 changed files with 183 additions and 8 deletions

View file

@ -8,10 +8,13 @@ wlr_files += files(
'time.c',
)
if uuid.found()
wlr_deps += uuid
add_project_arguments('-DHAS_LIBUUID=1', language: 'c')
else
add_project_arguments('-DHAS_LIBUUID=0', language: 'c')
if conf_data.get('WLR_HAS_XDG_FOREIGN', 0) == 1
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
wlr_files += files('uuid.c')