mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-02-18 02:02:41 +00:00
21 lines
247 B
CMake
21 lines
247 B
CMake
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
|
|
)
|