2015-12-02 16:57:53 +11:00
|
|
|
include_directories(
|
|
|
|
${PROTOCOLS_INCLUDE_DIRS}
|
|
|
|
${PANGO_INCLUDE_DIRS}
|
2015-12-11 10:34:12 +11:00
|
|
|
${XKBCOMMON_INCLUDE_DIRS}
|
2016-04-29 04:08:41 +10:00
|
|
|
${WAYLAND_INCLUDE_DIR}
|
2015-12-02 16:57:53 +11:00
|
|
|
)
|
|
|
|
|
2016-04-29 04:13:26 +10:00
|
|
|
add_library(sway-wayland STATIC
|
2015-12-02 16:57:53 +11:00
|
|
|
buffers.c
|
|
|
|
pango.c
|
|
|
|
registry.c
|
|
|
|
window.c
|
2015-12-10 23:57:46 +11:00
|
|
|
cairo.c
|
2015-12-02 16:57:53 +11:00
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(sway-wayland
|
|
|
|
sway-common
|
|
|
|
sway-protocols
|
|
|
|
${PANGO_LIBRARIES}
|
2015-12-11 10:34:12 +11:00
|
|
|
${XKBCOMMON_LIBRARIES}
|
2015-12-02 16:57:53 +11:00
|
|
|
)
|
2015-12-21 03:37:52 +11:00
|
|
|
|
|
|
|
if (WITH_GDK_PIXBUF)
|
|
|
|
include_directories(
|
|
|
|
${GDK_PIXBUF_INCLUDE_DIRS}
|
|
|
|
)
|
|
|
|
target_link_libraries(sway-wayland
|
|
|
|
${GDK_PIXBUF_LIBRARIES}
|
|
|
|
)
|
|
|
|
endif()
|