Fix build on FreeBSD

- Make sure CMake always finds absolute paths for Cairo, Pango and GdkPixbuf
- Add forgotten json-c include path to swaymsg/CMakeLists.txt
- Disable -Werror because of assert warnings
- Add correct /proc/pid/file path for FreeBSD
- Use libepoll-shim on FreeBSD
- Only use Linux capabilities on, well, Linux
This commit is contained in:
Greg V 2016-12-08 15:34:08 +03:00
parent d93e53fd4b
commit da26d69cb1
11 changed files with 127 additions and 103 deletions

View file

@ -3,6 +3,7 @@ include_directories(
${PANGO_INCLUDE_DIRS}
${XKBCOMMON_INCLUDE_DIRS}
${WAYLAND_INCLUDE_DIR}
${EPOLLSHIM_INCLUDE_DIRS}
)
add_library(sway-wayland STATIC
@ -18,6 +19,7 @@ target_link_libraries(sway-wayland
sway-protocols
${PANGO_LIBRARIES}
${XKBCOMMON_LIBRARIES}
${EPOLLSHIM_LIBRARIES}
)
if (WITH_GDK_PIXBUF)