Skip to content

Commit

Permalink
Merge pull request google#3787 from codeinred:fix-quickstart
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 460272863
Change-Id: I139e31faca4dab6f697e0cd1b3491f791fda5f8a
  • Loading branch information
copybara-github committed Jul 11, 2022
2 parents 4086e92 + 7da4a41 commit 78aa2ba
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/quickstart-cmake.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ set(CMAKE_CXX_STANDARD 14)
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.12.1
)
# For Windows: Prevent overriding the parent project's compiler/linker settings
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
Expand Down Expand Up @@ -108,7 +109,7 @@ add_executable(
)
target_link_libraries(
hello_test
gtest_main
GTest::gtest_main
)
include(GoogleTest)
Expand Down

0 comments on commit 78aa2ba

Please sign in to comment.