add gtest

This commit is contained in:
David Allemang
2022-09-15 11:13:43 -04:00
parent e513572389
commit cdd0e628e1
3 changed files with 11 additions and 6 deletions

8
External/gtest.cmake vendored Normal file
View File

@@ -0,0 +1,8 @@
FetchContent_Declare(
gtest
GIT_REPOSITORY https://github.com/google/googletest.git
GIT_TAG release-1.12.1
GIT_PROGRESS TRUE
)
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
FetchContent_MakeAvailable(gtest)