add new thirdparty, gtest

This commit is contained in:
falsycat 2023-07-10 22:46:53 +09:00
parent d6e62f1ed6
commit 096cd189d6

10
thirdparty/CMakeLists.txt vendored Normal file
View File

@ -0,0 +1,10 @@
include(FetchContent)
# ---- gtest (BSD-3-Clause)
FetchContent_Declare(
googletest
GIT_REPOSITORY https://github.com/google/googletest.git
GIT_TAG v1.13.0
)
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
FetchContent_MakeAvailable(googletest)