2017-04-25 19:06:58 +00:00
|
|
|
include_directories(
|
|
|
|
${PROTOCOLS_INCLUDE_DIRS}
|
|
|
|
${WAYLAND_INCLUDE_DIR}
|
2017-05-01 03:50:19 +00:00
|
|
|
${DRM_INCLUDE_DIRS}
|
2017-04-25 19:06:58 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
add_library(wlr-backend
|
|
|
|
wayland/backend.c
|
|
|
|
wayland/registry.c
|
2017-04-25 23:19:21 +00:00
|
|
|
wayland/wl_seat.c
|
|
|
|
wayland/wl_output.c
|
2017-05-01 05:49:18 +00:00
|
|
|
drm/backend.c
|
2017-05-01 03:50:19 +00:00
|
|
|
drm/drm.c
|
|
|
|
drm/udev.c
|
2017-05-03 05:04:41 +00:00
|
|
|
egl.c
|
2017-04-25 19:06:58 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(wlr-backend
|
|
|
|
wlr-common
|
2017-04-26 01:26:29 +00:00
|
|
|
wlr-wayland
|
2017-04-25 19:06:58 +00:00
|
|
|
${WAYLAND_LIBRARIES}
|
2017-05-02 06:13:17 +00:00
|
|
|
${DRM_LIBRARIES}
|
|
|
|
${GBM_LIBRARIES}
|
|
|
|
${GLESv2_LIBRARIES}
|
|
|
|
${EGL_LIBRARIES}
|
|
|
|
${SYSTEMD_LIBRARIES}
|
|
|
|
${UDEV_LIBRARIES}
|
|
|
|
${GBM_LIBRARIES}
|
2017-04-25 19:06:58 +00:00
|
|
|
)
|