2020-06-08 23:30:29 +00:00
|
|
|
option(GLFW_BUILD_TESTS "" OFF)
|
|
|
|
option(GLFW_BUILD_DOCS "" OFF)
|
|
|
|
option(GLFW_INSTALL "" OFF)
|
|
|
|
option(GLFW_BUILD_EXAMPLES "" OFF)
|
|
|
|
|
|
|
|
option(CATCH_BUILD_TESTING "" OFF)
|
|
|
|
option(CATCH_ENABLE_WERROR "" OFF)
|
|
|
|
option(CATCH_INSTALL_DOCS "" OFF)
|
|
|
|
option(CATCH_INSTALL_HELPERS "" OFF)
|
2023-09-19 20:32:22 +00:00
|
|
|
option(CATCH_INSTALL_EXTRAS "" ON)
|
2020-06-08 23:30:29 +00:00
|
|
|
|
|
|
|
include(FetchContent)
|
|
|
|
FetchContent_Declare(
|
|
|
|
glfw
|
|
|
|
GIT_REPOSITORY https://github.com/glfw/glfw
|
|
|
|
GIT_TAG 3.3.2
|
|
|
|
)
|
|
|
|
FetchContent_MakeAvailable(glfw)
|
|
|
|
FetchContent_Declare(
|
|
|
|
Catch2
|
|
|
|
GIT_REPOSITORY https://github.com/catchorg/Catch2
|
2023-09-19 20:32:22 +00:00
|
|
|
GIT_TAG v3.4.0
|
2020-06-08 23:30:29 +00:00
|
|
|
)
|
2023-09-19 20:32:22 +00:00
|
|
|
FetchContent_MakeAvailable(Catch2)
|
|
|
|
|