mirror of
https://github.com/swaywm/sway.git
synced 2025-11-25 06:59:48 -05: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
|
|
@ -66,6 +66,7 @@ find_package(GdkPixbuf)
|
|||
find_package(PAM)
|
||||
|
||||
find_package(LibInput REQUIRED)
|
||||
find_package(Libcap REQUIRED)
|
||||
|
||||
if (CMAKE_SYSTEM_NAME STREQUAL FreeBSD)
|
||||
find_package(EpollShim REQUIRED)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue