Use git hash to catch2 fetch

This commit is contained in:
gabime 2023-12-22 18:04:53 +02:00
parent d03d514bad
commit d10bef50d9

View File

@ -19,7 +19,10 @@ if(Catch2_FOUND)
else()
message(STATUS "Bundled version of Catch will be downloaded and used.")
include(FetchContent)
FetchContent_Declare(Catch2 GIT_REPOSITORY https://github.com/catchorg/Catch2.git GIT_TAG v3.3.2)
FetchContent_Declare(Catch2
GIT_REPOSITORY https://github.com/catchorg/Catch2.git
GIT_TAG 3f0283de7a9c43200033da996ff9093be3ac84dc # v3.3.2
)
FetchContent_MakeAvailable(Catch2)
endif()