wlroots/backend/CMakeLists.txt

30 lines
518 B
CMake
Raw Normal View History

include_directories(
${PROTOCOLS_INCLUDE_DIRS}
${WAYLAND_INCLUDE_DIR}
2017-05-01 03:50:19 +00:00
${DRM_INCLUDE_DIRS}
)
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
)
target_link_libraries(wlr-backend
wlr-common
wlr-wayland
${WAYLAND_LIBRARIES}
2017-05-02 06:13:17 +00:00
${DRM_LIBRARIES}
${GBM_LIBRARIES}
${GLESv2_LIBRARIES}
${EGL_LIBRARIES}
${SYSTEMD_LIBRARIES}
${UDEV_LIBRARIES}
${GBM_LIBRARIES}
)