mirror of
https://github.com/charles-lunarg/vk-bootstrap.git
synced 2024-11-22 15:24:34 +00:00
04ec13b48d
VulkanSC was added to vk.xml and broke the generation script. This was an easy fix, just needed to specify which API the version information should use. Still, took the time to cleanup the code by running pylint and fixing anything it warned about.
27 lines
695 B
CMake
27 lines
695 B
CMake
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)
|
|
option(CATCH_INSTALL_EXTRAS "" ON)
|
|
set_property(GLOBAL PROPERTY CTEST_TARGETS_ADDED 1) #remove Catch2 target spam
|
|
|
|
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
|
|
GIT_TAG v3.4.0
|
|
)
|
|
FetchContent_MakeAvailable(Catch2)
|
|
|