prefer system installation of inih

Closes #195.

Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
This commit is contained in:
Stephan Lachnit
2020-02-26 10:32:58 +01:00
committed by afayaz-feral
parent 065454bb4e
commit f0943ff431
2 changed files with 5 additions and 3 deletions

View File

@ -157,8 +157,10 @@ endif
# main library
if with_daemon == true
# inih currently only needed by the daemon
inih = subproject('inih')
inih_dependency = inih.get_variable('inih_dependency')
inih_dependency = dependency(
'inih',
fallback : ['inih', 'inih_dependency']
)
subdir('daemon')