Set scdoc dependency to required: false
This commit is contained in:
parent
cf72dee60c
commit
9b9818e95d
|
@ -153,7 +153,7 @@ install_data(
|
||||||
install_dir: join_paths(get_option('out'), 'etc/xdg/waybar')
|
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()
|
if scdoc.found()
|
||||||
scdoc_prog = find_program(scdoc.get_pkgconfig_variable('scdoc'), native: true)
|
scdoc_prog = find_program(scdoc.get_pkgconfig_variable('scdoc'), native: true)
|
||||||
|
|
Loading…
Reference in New Issue