COMP: Consistent FetchContent usage

This commit is contained in:
David Allemang
2023-02-04 13:41:14 -05:00
parent 6c3754a3fa
commit 6ade8c8215
9 changed files with 31 additions and 1 deletions

4
vendor/glad.cmake vendored
View File

@@ -1,10 +1,14 @@
include(FetchContent)
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)