From da26d69cb1b21d582a81af0cad7342fab6596eed Mon Sep 17 00:00:00 2001 From: Greg V Date: Thu, 8 Dec 2016 15:34:08 +0300 Subject: 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 --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index b5796168..f55fadae 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -71,6 +71,10 @@ if(Backtrace_FOUND) set(SWAY_Backtrace_HEADER "${Backtrace_HEADER}") endif() +if (CMAKE_SYSTEM_NAME STREQUAL FreeBSD) + find_package(EpollShim REQUIRED) +endif (CMAKE_SYSTEM_NAME STREQUAL FreeBSD) + include(FeatureSummary) include(Manpage) include(GNUInstallDirs) -- cgit v1.2.3-54-g00ecf