sway/swaymsg/CMakeLists.txt
Greg V da26d69cb1 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
2016-12-09 19:32:07 +03:00

22 lines
244 B
CMake

add_executable(swaymsg
main.c
)
include_directories(
${JSONC_INCLUDE_DIRS}
)
target_link_libraries(swaymsg
sway-common
${JSONC_LIBRARIES}
)
install(
TARGETS swaymsg
RUNTIME
DESTINATION bin
COMPONENT runtime
)
add_manpage(swaymsg 1)