dependencies: Add libhandy as a subproject

Allows for building on systems that don't ship libhandy
or a version of libhandy that's new enough.
This commit is contained in:
Christopher Davis 2021-02-08 17:26:36 -08:00 committed by Georges Basile Stavracas Neto
parent 554b390cd4
commit d11e609543
4 changed files with 7 additions and 2 deletions

View file

@ -134,6 +134,7 @@ else
'Malcontent-' + libmalcontent_api_version + '.typelib']
endif
if get_option('ui').enabled()
libhandy_dep = dependency('libhandy-1', version: '>=1.1.0', fallback: ['libhandy', 'libhandy_dep'])
subdir('libmalcontent-ui')
endif
subdir('malcontent-client')