mirror of
https://github.com/swaywm/sway.git
synced 2024-11-26 01:41:30 +00:00
meson: use pkg-config var for scdoc path
This commit is contained in:
parent
0717b76715
commit
2c0b65f575
|
@ -57,7 +57,7 @@ elogind = dependency('libelogind', version: '>=239', required: false)
|
||||||
xcb = dependency('xcb', required: get_option('xwayland'))
|
xcb = dependency('xcb', required: get_option('xwayland'))
|
||||||
math = cc.find_library('m')
|
math = cc.find_library('m')
|
||||||
rt = cc.find_library('rt')
|
rt = cc.find_library('rt')
|
||||||
git = find_program('git', required: false)
|
git = find_program('git', native: true, required: false)
|
||||||
|
|
||||||
# Try first to find wlroots as a subproject, then as a system dependency
|
# Try first to find wlroots as a subproject, then as a system dependency
|
||||||
wlroots_version = '>=0.4.1'
|
wlroots_version = '>=0.4.1'
|
||||||
|
@ -97,8 +97,8 @@ conf_data.set10('HAVE_TRAY', have_tray)
|
||||||
|
|
||||||
scdoc = dependency('scdoc', version: '>=1.9.2', native: true, required: get_option('man-pages'))
|
scdoc = dependency('scdoc', version: '>=1.9.2', native: true, required: get_option('man-pages'))
|
||||||
if scdoc.found()
|
if scdoc.found()
|
||||||
scdoc_prog = find_program('scdoc')
|
scdoc_prog = find_program(scdoc.get_pkgconfig_variable('scdoc'), native: true)
|
||||||
sh = find_program('sh')
|
sh = find_program('sh', native: true)
|
||||||
mandir = get_option('mandir')
|
mandir = get_option('mandir')
|
||||||
man_files = [
|
man_files = [
|
||||||
'sway/sway.1.scd',
|
'sway/sway.1.scd',
|
||||||
|
|
Loading…
Reference in a new issue