mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 18:46:18 +00:00
a/ogl: Only link to EGL on Android
This commit is contained in:
parent
d33b2b136f
commit
f9c6c0d016
|
@ -19,7 +19,8 @@ if(XRT_HAVE_EGL)
|
|||
target_sources(aux_ogl PRIVATE egl_api.c egl_api.h)
|
||||
endif()
|
||||
|
||||
if(XRT_HAVE_OPENGLES)
|
||||
# Only needed on Android
|
||||
if(ANDROID AND XRT_HAVE_OPENGLES)
|
||||
target_link_libraries(aux_ogl PUBLIC EGL::EGL)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in a new issue