mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-02-15 02:00:22 +00:00
cmake: Fix build when we have EGL but not GLES headers.
This commit is contained in:
parent
74e79ff274
commit
1203cf38f0
|
@ -36,8 +36,12 @@ if(XRT_HAVE_OPENGL)
|
|||
endif()
|
||||
|
||||
if(XRT_HAVE_OPENGLES)
|
||||
target_sources(comp_client PRIVATE client/comp_gles_glue.c)
|
||||
endif()
|
||||
|
||||
if(XRT_HAVE_EGL)
|
||||
target_sources(
|
||||
comp_client PRIVATE client/comp_gles_glue.c client/comp_gl_eglimage_swapchain.c
|
||||
comp_client PRIVATE client/comp_gl_eglimage_swapchain.c
|
||||
client/comp_gl_eglimage_swapchain.h
|
||||
)
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue