COMP: Reorganize cmake files

This commit is contained in:
2023-02-05 17:19:25 -05:00
parent aa2566319f
commit 6247832cca
14 changed files with 9 additions and 43 deletions

15
ext/glfw.cmake Normal file
View File

@@ -0,0 +1,15 @@
include(FetchContent)
FetchContent_Declare(
glfw
GIT_REPOSITORY https://github.com/glfw/glfw.git
GIT_TAG 3.3.6
GIT_PROGRESS TRUE
)
set(GLFW_BUILD_EXAMPLES OFF CACHE INTERNAL "")
set(GLFW_BUILD_TESTS OFF CACHE INTERNAL "")
set(GLFW_BUILD_DOCS OFF CACHE INTERNAL "")
set(GLFW_INSTALL OFF CACHE INTERNAL "")
FetchContent_MakeAvailable(glfw)