Files
c_cpp_boilerplate/cmake/GetCatch2.cmake
2024-01-22 10:48:10 -03:00

11 lines
225 B
CMake

include(FetchContent)
FetchContent_Declare(
Catch2
GIT_REPOSITORY https://github.com/catchorg/Catch2.git
GIT_TAG v3.5.2
)
FetchContent_MakeAvailable(Catch2)
list(APPEND CMAKE_MODULE_PATH ${catch2_SOURCE_DIR}/extras)