Remove catch2 git submodule

This commit is contained in:
Ricardo Montañana Gómez 2024-07-21 21:32:37 +02:00
parent a5316928d4
commit eff7a33f96
Signed by: rmontanana
GPG Key ID: 46064262FD9A7ADE
3 changed files with 6 additions and 5 deletions

3
.gitmodules vendored
View File

@ -1,3 +0,0 @@
[submodule "tests/lib/catch2"]
path = tests/lib/catch2
url = https://github.com/catchorg/Catch2.git

View File

@ -41,7 +41,12 @@ add_subdirectory(config)
# -------
if (ENABLE_TESTING)
MESSAGE("Testing enabled")
add_git_submodule("tests/lib/catch2")
Include(FetchContent)
FetchContent_Declare(Catch2
GIT_REPOSITORY https://github.com/catchorg/Catch2.git
GIT_TAG v3.3.2
)
FetchContent_MakeAvailable(Catch2)
include(CTest)
add_subdirectory(tests)
endif (ENABLE_TESTING)

@ -1 +0,0 @@
Subproject commit 4e8d92bf02f7d1c8006a0e7a5ecabd8e62d98502