Fix download url

This commit is contained in:
Sainnhe Park 2022-11-14 11:23:33 +08:00
parent d83eb02ae6
commit d55c9c43ea

View File

@ -10,7 +10,7 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
include(FetchContent) include(FetchContent)
fetchcontent_declare( fetchcontent_declare(
googletest googletest
URL https://github.com/google/googletest/archive/refs/tags/release-1.12.1.zip URL https://ghproxy.com/https://github.com/google/googletest/archive/refs/heads/main.zip
) )
# For Windows: Prevent overriding the parent project's compiler/linker settings # For Windows: Prevent overriding the parent project's compiler/linker settings
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE) set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)