Skip to content

Commit fcfe5c2

Browse files
committed
docs/reference/meson.build: Check if perl is found
Don't use perl.path() when configuring Doxyfile, if perl is not found. Perl is not required, if build-documentation=false. Fixes #53
1 parent 1758d4f commit fcfe5c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ doc_conf_data.set('abs_top_builddir', built_files_root)
4343
doc_conf_data.set('abs_top_srcdir', project_source_root)
4444
doc_conf_data.set('SIGCXX_API_VERSION', sigcxx_api_version)
4545
doc_conf_data.set('DOXYGEN_TAGFILES', doxygen_tagfiles)
46-
doc_conf_data.set('PERL', perl.path())
46+
doc_conf_data.set('PERL', perl.found() ? perl.path() : '')
4747

4848
configure_file(
4949
input: 'Doxyfile.in',

0 commit comments

Comments
 (0)