aboutsummaryrefslogtreecommitdiff
path: root/backend/CMakeLists.txt
blob: 2d6e734f91e79b4e4757e213a6e5a05dff15d20b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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
    drm/event.c
    drm/session.c
    drm/udev.c
)

target_link_libraries(wlr-backend
    wlr-common
    wlr-wayland
    ${WAYLAND_LIBRARIES}
)