Set scdoc dependency to required: false

This commit is contained in:
Michael Aquilina 2019-08-22 17:13:04 +01:00
parent cf72dee60c
commit 9b9818e95d
No known key found for this signature in database
GPG Key ID: 636066730B056BD1

View File

@ -153,7 +153,7 @@ install_data(
install_dir: join_paths(get_option('out'), 'etc/xdg/waybar')
)
scdoc = dependency('scdoc', version: '>=1.9.2', native: true)
scdoc = dependency('scdoc', version: '>=1.9.2', native: true, required: false)
if scdoc.found()
scdoc_prog = find_program(scdoc.get_pkgconfig_variable('scdoc'), native: true)