summaryrefslogtreecommitdiff
path: root/swaymsg
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2016-12-08 15:34:08 +0300
committerFurkan Sahin <furkan-dev@proton.me>2016-12-08 15:34:08 +0300
commita38b18343bac7640cb567b3bf81d885dc5f855cb (patch)
tree18c24336e664111ba9c3a5bfedec5c340ec0a19d /swaymsg
parent4b30c6091026fcb1b61fff230ffecae4dce8f0cb (diff)
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.txt4
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
main.c
)
+include_directories(
+ ${JSONC_INCLUDE_DIRS}
+)
+
target_link_libraries(swaymsg
sway-common
${JSONC_LIBRARIES}