You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
304 B
14 lines
304 B
if(TARGET Catch2::Catch2)
|
|
return()
|
|
endif()
|
|
|
|
message(STATUS "Third-party: creating target 'Catch2::Catch2'")
|
|
|
|
include(FetchContent)
|
|
FetchContent_Declare(
|
|
catch2
|
|
GIT_REPOSITORY https://github.com/catchorg/Catch2.git
|
|
GIT_TAG v2.13.8
|
|
GIT_SHALLOW TRUE
|
|
)
|
|
FetchContent_MakeAvailable(catch2)
|
|
|