da26d69cb1
- 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
22 lines
244 B
CMake
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)
|