Update CMakeLists.txt

This commit is contained in:
Paris 2023-10-17 01:26:41 +03:00 committed by GitHub
parent d316e41625
commit f0c6930b8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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()