The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

a/ogl: Only link to EGL on Android

authored by

Jakob Bornecrantz and committed by
Ryan Pavlik
f9c6c0d0 d33b2b13

+2 -1
+2 -1
src/xrt/auxiliary/ogl/CMakeLists.txt
··· 19 19 target_sources(aux_ogl PRIVATE egl_api.c egl_api.h) 20 20 endif() 21 21 22 - if(XRT_HAVE_OPENGLES) 22 + # Only needed on Android 23 + if(ANDROID AND XRT_HAVE_OPENGLES) 23 24 target_link_libraries(aux_ogl PUBLIC EGL::EGL) 24 25 endif() 25 26