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