Skip to content

Commit 32d49db

Browse files
committed
build: Simplify GoogleTest dependency
1 parent f19a1d5 commit 32d49db

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

demo/google-test/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
1212
include(FetchContent)
1313
FetchContent_Declare(
1414
googletest
15-
URL https://github.com/google/googletest/archive/03597a01ee50ed33e9dfd640b249b4be3799d395.zip
15+
GIT_REPOSITORY https://github.com/google/googletest.git
16+
GIT_TAG v1.17.0
1617
)
1718
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
1819
FetchContent_MakeAvailable(googletest)

0 commit comments

Comments
 (0)