diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2019-01-18 08:21:43 +0100 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2019-01-18 08:21:43 +0100 |
| commit | 43b191ebcf231dc86730d3b9aa6d7d95810d644b (patch) | |
| tree | dd32d8cfcf530d6f55924dab4eb0ce57a02803a8 /meson.build | |
| parent | 1399739e8f2c4f450fc7d06cd8841b63a6ff0840 (diff) | |
meson: add gdk-pixbuf and man-pages options
Diffstat (limited to 'meson.build')
| -rw-r--r-- | meson.build | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/meson.build b/meson.build index 8acf0f2c..1318ce8f 100644 --- a/meson.build +++ b/meson.build @@ -46,7 +46,7 @@ xkbcommon = dependency('xkbcommon') cairo = dependency('cairo') pango = dependency('pango') pangocairo = dependency('pangocairo') -gdk_pixbuf = dependency('gdk-pixbuf-2.0', required: false) +gdk_pixbuf = dependency('gdk-pixbuf-2.0', required: get_option('gdk-pixbuf')) pixman = dependency('pixman-1') libevdev = dependency('libevdev') libinput = dependency('libinput', version: '>=1.6.0') @@ -80,8 +80,7 @@ if not systemd.found() and not elogind.found() warning('You must do this manually post-install: chmod a+s /path/to/sway') endif -scdoc = find_program('scdoc', required: false) - +scdoc = find_program('scdoc', required: get_option('man-pages')) if scdoc.found() sh = find_program('sh') mandir = get_option('mandir') |
