add new thirdparty, gtest
This commit is contained in:
parent
d6e62f1ed6
commit
096cd189d6
10
thirdparty/CMakeLists.txt
vendored
Normal file
10
thirdparty/CMakeLists.txt
vendored
Normal 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)
|
Loading…
x
Reference in New Issue
Block a user