1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
include_directories( ${DRM_INCLUDE_DIRS} ) add_executable(example main.c ) target_link_libraries(example wlr-backend ) add_executable(example-drm example-drm.c ) target_link_libraries(example-drm wlr-backend wlr-session )