Refine OpenXR backend formatting
This commit is contained in:
@@ -28,27 +28,28 @@ pkg_check_modules(X11 REQUIRED x11)
|
||||
pkg_check_modules(wayland REQUIRED wayland-server wayland-protocols)
|
||||
|
||||
include_directories(
|
||||
${wayland_INCLUDE_DIRS}
|
||||
${X11_INCLUDE_DIRS}
|
||||
${GLM_INCLUDE_DIRS}
|
||||
${Wlroots_INCLUDE_DIRS}
|
||||
${wayland_INCLUDE_DIRS}
|
||||
${X11_INCLUDE_DIRS}
|
||||
${GLM_INCLUDE_DIRS}
|
||||
${Wlroots_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
set(SOURCES
|
||||
src/wlr/backend.cpp
|
||||
src/wlr/output.cpp
|
||||
src/wlr/backend.cpp
|
||||
src/wlr/output.cpp
|
||||
src/wlr/openxr_gl.cpp
|
||||
|
||||
src/compositor.cpp
|
||||
src/main.cpp
|
||||
src/compositor.cpp
|
||||
src/main.cpp
|
||||
)
|
||||
|
||||
add_executable(${PROJECT_NAME} ${SOURCES})
|
||||
|
||||
target_link_libraries(${PROJECT_NAME}
|
||||
OpenGL::GL
|
||||
openxr_loader
|
||||
${wayland_LIBRARIES}
|
||||
${X11_LIBRARIES}
|
||||
${GLM_LIBRARIES}
|
||||
${Wlroots_LIBRARIES}
|
||||
OpenGL::GL
|
||||
openxr_loader
|
||||
${wayland_LIBRARIES}
|
||||
${X11_LIBRARIES}
|
||||
${GLM_LIBRARIES}
|
||||
${Wlroots_LIBRARIES}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user