mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-15 11:25:26 +00:00
c/client: Merge have EGL conditional file adding
This commit is contained in:
parent
f9c6c0d016
commit
35b941812a
|
@ -41,8 +41,9 @@ endif()
|
||||||
|
|
||||||
if(XRT_HAVE_EGL)
|
if(XRT_HAVE_EGL)
|
||||||
target_sources(
|
target_sources(
|
||||||
comp_client PRIVATE client/comp_gl_eglimage_swapchain.c
|
comp_client
|
||||||
client/comp_gl_eglimage_swapchain.h
|
PRIVATE client/comp_gl_eglimage_swapchain.c client/comp_gl_eglimage_swapchain.h
|
||||||
|
client/comp_egl_client.c client/comp_egl_client.h
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
@ -60,9 +61,6 @@ if(XRT_HAVE_OPENGL AND WIN32)
|
||||||
client/comp_gl_win32_glue.c
|
client/comp_gl_win32_glue.c
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
if(XRT_HAVE_EGL)
|
|
||||||
target_sources(comp_client PRIVATE client/comp_egl_client.c client/comp_egl_client.h)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(XRT_HAVE_D3D11 OR XRT_HAVE_D3D12)
|
if(XRT_HAVE_D3D11 OR XRT_HAVE_D3D12)
|
||||||
target_link_libraries(comp_client PRIVATE aux_d3d)
|
target_link_libraries(comp_client PRIVATE aux_d3d)
|
||||||
|
|
Loading…
Reference in a new issue