We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4086e92 + 7da4a41 commit 78aa2baCopy full SHA for 78aa2ba
docs/quickstart-cmake.md
@@ -58,7 +58,8 @@ set(CMAKE_CXX_STANDARD 14)
58
include(FetchContent)
59
FetchContent_Declare(
60
googletest
61
- URL https://github.com/google/googletest/archive/609281088cfefc76f9d0ce82e1ff6c30cc3591e5.zip
+ GIT_REPOSITORY https://github.com/google/googletest.git
62
+ GIT_TAG release-1.12.1
63
)
64
# For Windows: Prevent overriding the parent project's compiler/linker settings
65
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
@@ -108,7 +109,7 @@ add_executable(
108
109
110
target_link_libraries(
111
hello_test
- gtest_main
112
+ GTest::gtest_main
113
114
115
include(GoogleTest)
0 commit comments