diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CMakeLists.txt | 16 | ||||
-rw-r--r-- | lib/catch2/CMakeLists.txt | 4 | ||||
-rw-r--r-- | lib/gtest/CMakeLists.txt | 4 | ||||
-rw-r--r-- | lib/trompeloeil/CMakeLists.txt | 4 |
4 files changed, 20 insertions, 8 deletions
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 6a5d90d..4e2b318 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -43,10 +43,18 @@ add_subdirectory(backward) if(test) FetchContent_Declare( - gtest - GIT_REPOSITORY "https://github.com/google/googletest" - GIT_TAG v1.11.0 + catch2 + GIT_REPOSITORY "https://github.com/catchorg/Catch2" + GIT_TAG v3.0.1 ) - add_subdirectory(gtest) + add_subdirectory(catch2) + + FetchContent_Declare( + trompeloeil + GIT_REPOSITORY "https://github.com/rollbear/trompeloeil" + GIT_TAG v42 + ) + + add_subdirectory(trompeloeil) endif() diff --git a/lib/catch2/CMakeLists.txt b/lib/catch2/CMakeLists.txt new file mode 100644 index 0000000..f9f75e4 --- /dev/null +++ b/lib/catch2/CMakeLists.txt @@ -0,0 +1,4 @@ +message(STATUS "Fetching Catch2...") + +FetchContent_MakeAvailable(catch2) + diff --git a/lib/gtest/CMakeLists.txt b/lib/gtest/CMakeLists.txt deleted file mode 100644 index f28b693..0000000 --- a/lib/gtest/CMakeLists.txt +++ /dev/null @@ -1,4 +0,0 @@ -message(STATUS "Fetching gtest...") - -FetchContent_MakeAvailable(gtest) - diff --git a/lib/trompeloeil/CMakeLists.txt b/lib/trompeloeil/CMakeLists.txt new file mode 100644 index 0000000..dc3f2e5 --- /dev/null +++ b/lib/trompeloeil/CMakeLists.txt @@ -0,0 +1,4 @@ +message(STATUS "Fetching Trompeloeil...") + +FetchContent_MakeAvailable(trompeloeil) + |