mirror of
https://git.proxmox.com/git/fwupd
synced 2025-07-27 11:09:28 +00:00
trivial: simplify error message for gidocgen needing introspection
This commit is contained in:
parent
d96ee25bbf
commit
cdd599c8d9
@ -600,10 +600,7 @@ elif get_option('docs') == 'docgen'
|
|||||||
native: true,
|
native: true,
|
||||||
fallback: ['gi-docgen', 'dummy_dep'],
|
fallback: ['gi-docgen', 'dummy_dep'],
|
||||||
)
|
)
|
||||||
gidocgen = find_program('gi-docgen')
|
gidocgen = find_program('gi-docgen', required: get_option('introspection'))
|
||||||
if not get_option('introspection')
|
|
||||||
error('introspection is needed for docgen')
|
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
subdir('libfwupd')
|
subdir('libfwupd')
|
||||||
|
Loading…
Reference in New Issue
Block a user