mirror of
git://git.sv.nongnu.org/freetype/freetype2.git
synced 2026-01-19 04:52:09 +00:00
meson.build (gen_docs): Use current_source_dir instead of source_root.
These two are not equal when FreeType is used as a subproject, such as in `freetype-demos`. In that case, `source_root` points at the root project, causing the docs build to fail.
This commit is contained in:
committed by
Werner Lemberg
parent
0f23ae2e80
commit
842ec5ed62
@@ -391,7 +391,7 @@ gen_docs = custom_target('freetype2 reference documentation',
|
||||
command: [python_exe,
|
||||
files('builds/meson/generate_reference_docs.py'),
|
||||
'--version=' + meson.project_version(),
|
||||
'--input-dir=' + meson.source_root(),
|
||||
'--input-dir=' + meson.current_source_dir(),
|
||||
'--output-dir=@OUTPUT@'
|
||||
],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user