mirror of
https://github.com/swaywm/sway.git
synced 2026-03-06 01:40:42 -05:00
FreeBSD fixes
Increase _POSIX_SOURCE value where needed. Increase _XOPEN_SOURCE value where needed. Conditionally link to libcap (only on Linux). Possibly some trailing whitespace fixes (automatic).
This commit is contained in:
parent
5ed533a943
commit
7fef283044
15 changed files with 20 additions and 19 deletions
|
|
@ -66,7 +66,10 @@ find_package(GdkPixbuf)
|
|||
find_package(PAM)
|
||||
|
||||
find_package(LibInput REQUIRED)
|
||||
find_package(Libcap REQUIRED)
|
||||
|
||||
if (CMAKE_SYSTEM_NAME STREQUAL Linux)
|
||||
find_package(Libcap REQUIRED)
|
||||
endif (CMAKE_SYSTEM_NAME STREQUAL Linux)
|
||||
|
||||
if (CMAKE_SYSTEM_NAME STREQUAL FreeBSD)
|
||||
find_package(EpollShim REQUIRED)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue