mirror of
https://github.com/swaywm/sway.git
synced 2024-12-30 17:06:40 +01:00
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
32 lines
529 B
CMake
32 lines
529 B
CMake
include_directories(
|
|
${PROTOCOLS_INCLUDE_DIRS}
|
|
${PANGO_INCLUDE_DIRS}
|
|
${XKBCOMMON_INCLUDE_DIRS}
|
|
${WAYLAND_INCLUDE_DIR}
|
|
${EPOLLSHIM_INCLUDE_DIRS}
|
|
)
|
|
|
|
add_library(sway-wayland STATIC
|
|
buffers.c
|
|
pango.c
|
|
registry.c
|
|
window.c
|
|
cairo.c
|
|
)
|
|
|
|
target_link_libraries(sway-wayland
|
|
sway-common
|
|
sway-protocols
|
|
${PANGO_LIBRARIES}
|
|
${XKBCOMMON_LIBRARIES}
|
|
${EPOLLSHIM_LIBRARIES}
|
|
)
|
|
|
|
if (WITH_GDK_PIXBUF)
|
|
include_directories(
|
|
${GDK_PIXBUF_INCLUDE_DIRS}
|
|
)
|
|
target_link_libraries(sway-wayland
|
|
${GDK_PIXBUF_LIBRARIES}
|
|
)
|
|
endif()
|