Make libcap an optional dependency

FreeBSD does not have libcap, so without "required: false" Sway fails
to build.
This commit is contained in:
sghctoma 2018-08-30 09:40:35 +02:00
parent cc16948c85
commit 462e15d9a5
1 changed files with 1 additions and 1 deletions

View File

@ -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)