We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 029a63a commit be3ffeaCopy full SHA for be3ffea
1 file changed
CMakeLists.txt
@@ -63,7 +63,9 @@ if(BUILD_TESTS)
63
include(FetchContent)
64
FetchContent_Declare(
65
googletest
66
- URL https://github.com/google/googletest/archive/refs/heads/main.zip
+ GIT_REPOSITORY https://github.com/google/googletest.git
67
+ GIT_TAG v1.14.0
68
+ DOWNLOAD_EXTRACT_TIMESTAMP TRUE
69
)
70
FetchContent_MakeAvailable(googletest)
71
add_executable(test_all test_all.cpp)
0 commit comments