mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-25 08:32:30 +00:00
31 lines
530 B
CMake
31 lines
530 B
CMake
include_directories(
|
|
${PROTOCOLS_INCLUDE_DIRS}
|
|
${WAYLAND_INCLUDE_DIR}
|
|
${DRM_INCLUDE_DIRS}
|
|
)
|
|
|
|
add_library(wlr-backend
|
|
#wayland/backend.c
|
|
#wayland/registry.c
|
|
#wayland/wl_seat.c
|
|
#wayland/wl_output.c
|
|
drm/backend.c
|
|
drm/drm.c
|
|
udev.c
|
|
backend.c
|
|
egl.c
|
|
)
|
|
|
|
target_link_libraries(wlr-backend
|
|
wlr-common
|
|
wlr-types
|
|
${WAYLAND_LIBRARIES}
|
|
${DRM_LIBRARIES}
|
|
${GBM_LIBRARIES}
|
|
${GLESv2_LIBRARIES}
|
|
${EGL_LIBRARIES}
|
|
${SYSTEMD_LIBRARIES}
|
|
${UDEV_LIBRARIES}
|
|
${GBM_LIBRARIES}
|
|
)
|