summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAlecto Irene Perez <perez.cs@pm.me>2022-03-26 21:52:05 -0600
committerAlecto Irene Perez <perez.cs@pm.me>2022-03-26 21:52:05 -0600
commit7da4a4114ad2bf5ae61460e0c02ba35fc323fc9d (patch)
tree1fbb1d3da5b78cbf44babc9cd54388c73c86fdc5 /docs
parentaf29db7ec28d6df1c7f0f745186884091e602e07 (diff)
downloadgoogletest-git-7da4a4114ad2bf5ae61460e0c02ba35fc323fc9d.tar.gz
Fix quickstart-cmake documentation
Signed-off-by: Alecto Irene Perez <perez.cs@pm.me>
Diffstat (limited to 'docs')
-rw-r--r--docs/quickstart-cmake.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/quickstart-cmake.md b/docs/quickstart-cmake.md
index 420f1d3a..9080580d 100644
--- a/docs/quickstart-cmake.md
+++ b/docs/quickstart-cmake.md
@@ -58,7 +58,8 @@ set(CMAKE_CXX_STANDARD 11)
include(FetchContent)
FetchContent_Declare(
googletest
- URL https://github.com/google/googletest/archive/609281088cfefc76f9d0ce82e1ff6c30cc3591e5.zip
+ GIT_REPOSITORY https://github.com/google/googletest.git
+ GIT_TAG release-1.11.0
)
# For Windows: Prevent overriding the parent project's compiler/linker settings
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
@@ -108,7 +109,7 @@ add_executable(
)
target_link_libraries(
hello_test
- gtest_main
+ GTest::gtest_main
)
include(GoogleTest)