Archived
1
Fork 0

Update some external libraries

This also uses full commit hashes instead of the name of the git tag.
This commit is contained in:
Joshua Goins 2022-02-21 08:52:25 -05:00
parent 75c0fa25c0
commit 4e8b910af4

17
extern/CMakeLists.txt vendored
View file

@ -18,15 +18,15 @@ FetchContent_Declare(
FetchContent_Declare( FetchContent_Declare(
spirv-cross spirv-cross
GIT_REPOSITORY https://github.com/KhronosGroup/SPIRV-Cross.git GIT_REPOSITORY https://github.com/KhronosGroup/SPIRV-Cross.git
GIT_TAG MoltenVK-1.1.5 GIT_TAG 0e2880ab990e79ce6cc8c79c219feda42d98b1e8
GIT_PROGRESS TRUE GIT_SHALLOW ON
) )
FetchContent_Declare( FetchContent_Declare(
glslang glslang
GIT_REPOSITORY https://github.com/KhronosGroup/glslang.git GIT_REPOSITORY https://github.com/KhronosGroup/glslang.git
GIT_TAG df609a01b386001e367709086c58529c48028d1e # taken from https://github.com/KhronosGroup/SPIRV-Cross/blob/2021-01-15/checkout_glslang_spirv_tools.sh#L3 GIT_TAG df609a01b386001e367709086c58529c48028d1e # taken from https://github.com/KhronosGroup/SPIRV-Cross/blob/2021-01-15/checkout_glslang_spirv_tools.sh#L3
GIT_PROGRESS TRUE GIT_SHALLOW ON
) )
# bullet # bullet
@ -72,10 +72,11 @@ add_subdirectory(magic_enum)
add_subdirectory(smaa) add_subdirectory(smaa)
add_subdirectory(doctest) add_subdirectory(doctest)
FetchContent_Declare(json FetchContent_Declare(
json
GIT_REPOSITORY https://github.com/ArthurSonzogni/nlohmann_json_cmake_fetchcontent.git GIT_REPOSITORY https://github.com/ArthurSonzogni/nlohmann_json_cmake_fetchcontent.git
GIT_TAG v3.9.1 GIT_TAG 6aebf09233951e4ce30a63919186a70b2b195756
GIT_PROGRESS TRUE) GIT_SHALLOW TRUE)
FetchContent_GetProperties(json) FetchContent_GetProperties(json)
if (NOT json_POPULATED) if (NOT json_POPULATED)
@ -117,8 +118,8 @@ endif ()
FetchContent_Declare( FetchContent_Declare(
fmt fmt
GIT_REPOSITORY https://github.com/fmtlib/fmt GIT_REPOSITORY https://github.com/fmtlib/fmt
GIT_TAG 8.0.1 GIT_TAG b6f4ceaed0a0a24ccf575fab6c56dd50ccf6f1a9
GIT_PROGRESS TRUE GIT_SHALLOW TRUE
) )
FetchContent_MakeAvailable(fmt) FetchContent_MakeAvailable(fmt)