COMP: Use fetchcontent for vendor dependencies.

Remove git submodules entirely.
This commit is contained in:
David Allemang
2023-01-26 14:22:20 -05:00
parent baec48ecd7
commit b7be8dc093
15 changed files with 54 additions and 8002 deletions

10
vendor/glad.cmake vendored Normal file
View File

@@ -0,0 +1,10 @@
FetchContent_Declare(
glad
GIT_REPOSITORY https://github.com/Dav1dde/glad.git
GIT_TAG v0.1.36
GIT_PROGRESS TRUE
)
set(GLAD_PROFILE "core" CACHE INTERNAL "OpenGL profile")
set(GLAD_API "gl=4.6" CACHE INTERNAL "API type/version pairs, like \"gl=3.2,gles=\", no version means latest")
set(GLAD_GENERATOR "c" CACHE INTERNAL "Language to generate the binding for")
FetchContent_MakeAvailable(glad)