[meson] revert 020b182
as meson fails when there is cyclic dependency
This commit is contained in:
parent
42d039cc99
commit
38fa924904
|
@ -79,12 +79,6 @@ if not get_option('freetype').disabled()
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if not freetype_dep.found()
|
if not freetype_dep.found()
|
||||||
freetype_dep = dependency('freetype2', required: false,
|
|
||||||
fallback: ['freetype2', 'freetype_dep'])
|
|
||||||
endif
|
|
||||||
|
|
||||||
if not freetype_dep.found()
|
|
||||||
# try to fetch freetype2 without harfbuzz, just as a last resort
|
|
||||||
# https://github.com/harfbuzz/harfbuzz/pull/2498
|
# https://github.com/harfbuzz/harfbuzz/pull/2498
|
||||||
freetype_dep = dependency('freetype2', required: get_option('freetype'),
|
freetype_dep = dependency('freetype2', required: get_option('freetype'),
|
||||||
fallback: ['freetype2', 'freetype_dep'],
|
fallback: ['freetype2', 'freetype_dep'],
|
||||||
|
|
Loading…
Reference in New Issue