scdoc: mark as build-time dependency

This commit is contained in:
Nick Cao 2022-11-21 15:43:47 +08:00 committed by Simon Ser
parent c83b3cc514
commit 0a8bfa1460

View file

@ -136,7 +136,7 @@ install_data(
install_dir: join_paths(get_option('datadir'), 'xdg-desktop-portal', 'portals'), install_dir: join_paths(get_option('datadir'), 'xdg-desktop-portal', 'portals'),
) )
scdoc = dependency('scdoc', required: get_option('man-pages'), version: '>= 1.9.7') scdoc = dependency('scdoc', required: get_option('man-pages'), version: '>= 1.9.7', native: true)
if scdoc.found() if scdoc.found()
man_pages = ['xdg-desktop-portal-wlr.5.scd'] man_pages = ['xdg-desktop-portal-wlr.5.scd']
foreach src : man_pages foreach src : man_pages