change cmakelists and gitignore, commit third librarys source
This commit is contained in:
8
cmake_modules/gtest.cmake
Normal file
8
cmake_modules/gtest.cmake
Normal file
@@ -0,0 +1,8 @@
|
||||
include(FetchContent)
|
||||
FetchContent_Declare(
|
||||
gtest
|
||||
GIT_REPOSITORY https://gitee.com/mirrors/googletest.git
|
||||
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/external/gtest
|
||||
)
|
||||
|
||||
FetchContent_MakeAvailable(gtest)
|
||||
Reference in New Issue
Block a user