|
|
@ -19,7 +19,10 @@ if(Catch2_FOUND)
|
|
|
|
else()
|
|
|
|
else()
|
|
|
|
message(STATUS "Bundled version of Catch will be downloaded and used.")
|
|
|
|
message(STATUS "Bundled version of Catch will be downloaded and used.")
|
|
|
|
include(FetchContent)
|
|
|
|
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 53d0d913a422d356b23dd927547febdf69ee9081 # v3.5.0
|
|
|
|
|
|
|
|
)
|
|
|
|
FetchContent_MakeAvailable(Catch2)
|
|
|
|
FetchContent_MakeAvailable(Catch2)
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|