1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
include_directories( ${DRM_INCLUDE_DIRS} ${CMAKE_CURRENT_SOURCE_DIR} ) add_executable(simple simple.c ) target_link_libraries(simple wlr-backend wlr-session ) add_executable(rotation rotation.c cat.c ) target_link_libraries(rotation wlr-backend wlr-session wlr-render )