scdoc: mark as build-time dependency
This commit is contained in:
parent
c83b3cc514
commit
0a8bfa1460
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue