From f0c6930b8df4dc287d17e8bb1e8093b1804737f6 Mon Sep 17 00:00:00 2001 From: Paris Date: Tue, 17 Oct 2023 01:26:41 +0300 Subject: [PATCH] Update CMakeLists.txt --- third_party/glad/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) 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()