[meson] revert 020b182 as meson fails when there is cyclic dependency

This commit is contained in:
Ebrahim Byagowi 2020-07-03 11:44:44 +04:30
parent 42d039cc99
commit 38fa924904
1 changed files with 0 additions and 6 deletions

View File

@ -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'],