mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-15 08:56:26 -05:00
util: add support for generating UUIDs
Co-authored-by: Jason Francis <cycl0ps@tuta.io>
This commit is contained in:
parent
3721dbfddb
commit
bf4e2e0eac
7 changed files with 55 additions and 0 deletions
|
|
@ -7,3 +7,11 @@ wlr_files += files(
|
|||
'signal.c',
|
||||
'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')
|
||||
endif
|
||||
wlr_files += files('uuid.c')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue