mp-sfml/cmake_modules/gtest.cmake

11 lines
291 B
CMake

include(FetchContent)
FetchContent_Declare(
gtest
#GIT_REPOSITORY https://gitee.com/mirrors/googletest.git
GIT_REPOSITORY http://212.129.155.29:3000/gitMirror/googletest.git
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/external/gtest
GIT_TAG main
)
FetchContent_MakeAvailable(gtest)