diff --git a/third_party/glad/CMakeLists.txt b/third_party/glad/CMakeLists.txt index 854df3aa1..b63113424 100644 --- a/third_party/glad/CMakeLists.txt +++ b/third_party/glad/CMakeLists.txt @@ -2,6 +2,8 @@ set(GLAD_FILES src/gl.c include/KHR/khrplatform.h) if(WIN32) set(GLAD_FILES ${GLAD_FILES} src/glad_wgl.c) +elseif(ANDROID) + set(GLAD_FILES ${GLAD_FILES} src/glad_egl.c) elseif(NOT APPLE) set(GLAD_FILES ${GLAD_FILES} src/glad_egl.c src/glad_glx.c) endif()