Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
OFFTKP authored Oct 16, 2023
1 parent d316e41 commit f0c6930
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions third_party/glad/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit f0c6930

Please sign in to comment.