trivial: simplify error message for gidocgen needing introspection

This commit is contained in:
Mario Limonciello 2022-02-20 10:14:53 -06:00
parent d96ee25bbf
commit cdd599c8d9

View File

@ -600,10 +600,7 @@ elif get_option('docs') == 'docgen'
native: true,
fallback: ['gi-docgen', 'dummy_dep'],
)
gidocgen = find_program('gi-docgen')
if not get_option('introspection')
error('introspection is needed for docgen')
endif
gidocgen = find_program('gi-docgen', required: get_option('introspection'))
endif
subdir('libfwupd')