Address feedback on PR #1452.

Move the invocation of `find_program` for doxygen into the if
branch & make failure to find the program fatal.
This commit is contained in:
Michael Herstine 2022-02-27 08:00:12 -08:00
parent ba1d86ec80
commit ed65f52f50

View File

@ -37,9 +37,9 @@ if get_option('manpages')
)
endif
doxygen = find_program('doxygen', required: false)
if get_option('doxygen') and doxygen.found()
if get_option('doxygen')
doxygen = find_program('doxygen', required: true)
conf_data = configuration_data()
conf_data.set('VERSION', meson.project_version())
conf_data.set('abs_top_srcdir', meson.source_root())