mirror of
https://github.com/swaywm/sway.git
synced 2026-04-03 07:15:39 -04:00
Add libcap check to CMake
- Moved ``<sys/capability.h>`` include inside `__linux__` guard, because all uses are similarly guarded. - <sys/capability.h> is part of an optional devel package, at least in fedora. CMake now explicitly checks that libcap devel files are available. - Added libcap to the list of install packages in .travis.yml, to make the dependency explicit. travis-ci installs the package by default, which is why this hasn't surfaced previously.
This commit is contained in:
parent
270e01ce6d
commit
aa6bd85da1
4 changed files with 59 additions and 1 deletions
|
|
@ -18,6 +18,7 @@ arch:
|
|||
- cairo
|
||||
- gdk-pixbuf2
|
||||
- wlc-git
|
||||
- libcap
|
||||
script:
|
||||
- "cmake ."
|
||||
- "make"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue