only build docs if doxygen is present
This commit is contained in:
parent
c5ff5479a5
commit
c4792d88fc
@ -9,9 +9,6 @@ project('obelisk',
|
|||||||
)
|
)
|
||||||
|
|
||||||
doxygen = find_program('doxygen', required : false)
|
doxygen = find_program('doxygen', required : false)
|
||||||
if not doxygen.found()
|
|
||||||
error('MESON_SKIP_TEST doxygen not found.')
|
|
||||||
endif
|
|
||||||
|
|
||||||
cdata = configuration_data()
|
cdata = configuration_data()
|
||||||
cdata.set('VERSION', meson.project_version())
|
cdata.set('VERSION', meson.project_version())
|
||||||
@ -22,6 +19,8 @@ else
|
|||||||
cdata.set('HAVE_DOT', 'NO')
|
cdata.set('HAVE_DOT', 'NO')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if doxygen.found()
|
||||||
subdir('doc')
|
subdir('doc')
|
||||||
|
endif
|
||||||
|
|
||||||
subdir('src')
|
subdir('src')
|
||||||
|
Loading…
Reference in New Issue
Block a user