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
|
2017-05-07 18:26:48 +02:00
|
|
|
#wayland/backend.c
|
|
|
|
#wayland/registry.c
|
|
|
|
#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/udev.c
|
2017-05-07 16:00:23 +02:00
|
|
|
backend.c
|
2017-05-03 07:04:41 +02:00
|
|
|
egl.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
|
|
|
)
|