diff options
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index f4c3762..71e4fef 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,8 +20,9 @@ include("FetchContent") FetchContent_Declare( "Catch2" - GIT_REPOSITORY "https://github.com/catchorg/Catch2.git" - GIT_TAG "v3.13.0" + URL "https://github.com/catchorg/Catch2/archive/refs/tags/v3.7.1.tar.gz" + URL_HASH "SHA256=c991b247a1a0d7bb9c39aa35faf0fe9e19764213f28ffba3109388e62ee0269c" + EXCLUDE_FROM_ALL FIND_PACKAGE_ARGS ) @@ -91,6 +92,8 @@ if(CMAKE_CROSSCOMPILING) add_subdirectory("kapi") add_subdirectory("libs") else() + include("EnableCoverage") + enable_testing() find_package("Catch2") include("Catch") |
