Merge pull request #310 from wheremyfoodat/wrage-2

Update CMakeLists.txt
This commit is contained in:
wheremyfoodat 2023-10-17 01:55:09 +03:00 committed by GitHub
commit 63272abfbe
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()