use dependency fallbacks, use system reproc if available

This commit is contained in:
Jan200101 authored and Francesco Abbate committed 2021-09-07 14:59:03 +02:00
1 parent fb907c9bf4
commit fc4c7a29ee
2 files changed
+3 -16

No files matched your search

+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',