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

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