Remove catch2 git submodule

This commit is contained in:
2024-07-21 21:32:37 +02:00
parent a5316928d4
commit eff7a33f96
3 changed files with 6 additions and 5 deletions

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)