Merge pull request #2755 from Myaamori/master

meson: use meson.current_source_dir() instead of @CURRENT_SOURCE_DIR@
This commit is contained in:
Khaled Hosny 2020-12-01 22:32:19 +02:00 committed by GitHub
commit 07e304b2a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -299,7 +299,7 @@ else
build_by_default: true, build_by_default: true,
input: rl, input: rl,
output: hh, output: hh,
command: [ragel_helper, '@OUTPUT@', '@CURRENT_SOURCE_DIR@', '@INPUT@'], command: [ragel_helper, '@OUTPUT@', meson.current_source_dir(), '@INPUT@'],
) )
endforeach endforeach
endif endif
@ -311,7 +311,7 @@ custom_target('harfbuzz.cc',
hb_graphite2_sources + hb_uniscribe_sources + hb_gdi_sources + hb_graphite2_sources + hb_uniscribe_sources + hb_gdi_sources +
hb_directwrite_sources + hb_coretext_sources, hb_directwrite_sources + hb_coretext_sources,
command: [find_program('gen-harfbuzzcc.py'), command: [find_program('gen-harfbuzzcc.py'),
'@OUTPUT@', '@CURRENT_SOURCE_DIR@', '@INPUT@'], '@OUTPUT@', meson.current_source_dir(), '@INPUT@'],
) )
incsrc = include_directories('.') incsrc = include_directories('.')