Add libagg as a subproject
No longer required to be installed, the subproject will be used if not found.
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
libagg_dep = dependency('libagg')
|
||||
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
|
||||
|
||||
font_renderer_sources = [
|
||||
'agg_font_freetype.cpp',
|
||||
'font_renderer.cpp',
|
||||
|
||||
Reference in New Issue
Block a user