diff options
author | sghctoma <sghctoma@gmail.com> | 2018-08-30 09:40:35 +0200 |
---|---|---|
committer | sghctoma <sghctoma@gmail.com> | 2018-08-30 09:40:35 +0200 |
commit | 462e15d9a506f2265d4b20bfbc1c245be5f82a17 (patch) | |
tree | 7ec287b94cb4746f962c21a18736eee8144817a6 | |
parent | cc16948c8598e8b9aa98506dcdad66967dc28712 (diff) | |
download | sway-462e15d9a506f2265d4b20bfbc1c245be5f82a17.tar.xz |
Make libcap an optional dependency
FreeBSD does not have libcap, so without "required: false" Sway fails
to build.
-rw-r--r-- | meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build index d5b33e6b..61fcff42 100644 --- a/meson.build +++ b/meson.build @@ -38,7 +38,7 @@ pango = dependency('pango') pangocairo = dependency('pangocairo') gdk_pixbuf = dependency('gdk-pixbuf-2.0', required: false) pixman = dependency('pixman-1') -libcap = dependency('libcap') +libcap = dependency('libcap', required: false) libinput = dependency('libinput', version: '>=1.6.0') libpam = cc.find_library('pam') systemd = dependency('libsystemd', required: false) |