diff options
author | Greg V <greg@unrelenting.technology> | 2016-12-08 15:34:08 +0300 |
---|---|---|
committer | Greg V <greg@unrelenting.technology> | 2016-12-09 19:32:07 +0300 |
commit | da26d69cb1b21d582a81af0cad7342fab6596eed (patch) | |
tree | 18c24336e664111ba9c3a5bfedec5c340ec0a19d /swaymsg | |
parent | Use return value of write (diff) | |
download | sway-da26d69cb1b21d582a81af0cad7342fab6596eed.tar.gz sway-da26d69cb1b21d582a81af0cad7342fab6596eed.tar.zst sway-da26d69cb1b21d582a81af0cad7342fab6596eed.zip |
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
Diffstat (limited to 'swaymsg')
-rw-r--r-- | swaymsg/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/swaymsg/CMakeLists.txt b/swaymsg/CMakeLists.txt index a4989b9c..f23919b8 100644 --- a/swaymsg/CMakeLists.txt +++ b/swaymsg/CMakeLists.txt | |||
@@ -2,6 +2,10 @@ add_executable(swaymsg | |||
2 | main.c | 2 | main.c |
3 | ) | 3 | ) |
4 | 4 | ||
5 | include_directories( | ||
6 | ${JSONC_INCLUDE_DIRS} | ||
7 | ) | ||
8 | |||
5 | target_link_libraries(swaymsg | 9 | target_link_libraries(swaymsg |
6 | sway-common | 10 | sway-common |
7 | ${JSONC_LIBRARIES} | 11 | ${JSONC_LIBRARIES} |