use dependency fallbacks, use system reproc if available

This commit is contained in:
Jan200101
2021-08-24 11:54:44 +02:00
committed by Francesco
parent 816ceb4493
commit 973acb787a
2 changed files with 3 additions and 16 deletions
+1 -5
View File
@@ -1,10 +1,6 @@
freetype_dep = dependency('freetype2')
libagg_dep = dependency('libagg', required: false)
if not libagg_dep.found()
libagg_subproject = subproject('libagg')
libagg_dep = libagg_subproject.get_variable('libagg_dep')
endif
libagg_dep = dependency('libagg', fallback: ['libagg', 'libagg_dep'])
font_renderer_sources = [
'agg_font_freetype.cpp',