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:
parent
ba1d86ec80
commit
ed65f52f50
@ -37,9 +37,9 @@ if get_option('manpages')
|
|||||||
)
|
)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
doxygen = find_program('doxygen', required: false)
|
if get_option('doxygen')
|
||||||
if get_option('doxygen') and doxygen.found()
|
|
||||||
|
|
||||||
|
doxygen = find_program('doxygen', required: true)
|
||||||
conf_data = configuration_data()
|
conf_data = configuration_data()
|
||||||
conf_data.set('VERSION', meson.project_version())
|
conf_data.set('VERSION', meson.project_version())
|
||||||
conf_data.set('abs_top_srcdir', meson.source_root())
|
conf_data.set('abs_top_srcdir', meson.source_root())
|
||||||
|
Loading…
Reference in New Issue
Block a user