diff options
author | HampusM <hampus@hampusmat.com> | 2022-06-02 19:51:54 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-06-13 17:57:00 +0200 |
commit | eecf4b1e666211a13afa56f93477c55e8fd01621 (patch) | |
tree | 410510d6e058995174d5a5b0f535fb457a0c3542 /lib | |
parent | 87f55120f96d0f4f80b497dc9006d89df2dda125 (diff) |
feat: implement game of lifev0.1.0
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CMakeLists.txt | 10 | ||||
-rw-r--r-- | lib/doctest/CMakeLists.txt | 4 | ||||
-rw-r--r-- | lib/gtest/CMakeLists.txt | 4 |
3 files changed, 9 insertions, 9 deletions
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 7fdf83c..df9b253 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -32,12 +32,12 @@ FetchContent_Declare( add_subdirectory(yacppdic) -if("${TESTING}") +if(test) FetchContent_Declare( - doctest - GIT_REPOSITORY "https://github.com/doctest/doctest" - GIT_TAG v2.4.8 + gtest + GIT_REPOSITORY "https://github.com/google/googletest" + GIT_TAG v1.11.0 ) - add_subdirectory(doctest) + add_subdirectory(gtest) endif() diff --git a/lib/doctest/CMakeLists.txt b/lib/doctest/CMakeLists.txt deleted file mode 100644 index 0ca5267..0000000 --- a/lib/doctest/CMakeLists.txt +++ /dev/null @@ -1,4 +0,0 @@ -message(STATUS "Fetching doctest...") - -FetchContent_MakeAvailable(doctest) - diff --git a/lib/gtest/CMakeLists.txt b/lib/gtest/CMakeLists.txt new file mode 100644 index 0000000..f28b693 --- /dev/null +++ b/lib/gtest/CMakeLists.txt @@ -0,0 +1,4 @@ +message(STATUS "Fetching gtest...") + +FetchContent_MakeAvailable(gtest) + |