30 lines
421 B
CMake
30 lines
421 B
CMake
include_directories(
|
|
${DRM_INCLUDE_DIRS}
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
${XKBCOMMON_INCLUDE_DIRS}
|
|
)
|
|
|
|
add_executable(simple
|
|
simple.c
|
|
shared.c
|
|
)
|
|
|
|
target_link_libraries(simple
|
|
wlr-backend
|
|
wlr-session
|
|
${XKBCOMMON_LIBRARIES}
|
|
)
|
|
|
|
add_executable(rotation
|
|
rotation.c
|
|
shared.c
|
|
cat.c
|
|
)
|
|
|
|
target_link_libraries(rotation
|
|
wlr-backend
|
|
wlr-session
|
|
wlr-render
|
|
${XKBCOMMON_LIBRARIES}
|
|
)
|