Merge pull request #3158 from GauthamBanasandra:patch-1

PiperOrigin-RevId: 367681693
This commit is contained in:
Dino Radaković 2021-04-12 20:14:10 -07:00
commit ec7fa96f29

View File

@ -60,8 +60,8 @@ If you want to use GoogleTest in a project which already uses CMake, the easiest
way is to get installed libraries and headers. way is to get installed libraries and headers.
* Import GoogleTest by using `find_package` (or `pkg_check_modules`). For * Import GoogleTest by using `find_package` (or `pkg_check_modules`). For
example, if `find_package(GTest CONFIG REQUIRED)` is succeed, you can use example, if `find_package(GTest CONFIG REQUIRED)` succeeds, you can use the
the libraries as `GTest::gtest`, `GTest::gmock`. libraries as `GTest::gtest`, `GTest::gmock`.
And a more robust and flexible approach is to build GoogleTest as part of that And a more robust and flexible approach is to build GoogleTest as part of that
project directly. This is done by making the GoogleTest source code available to project directly. This is done by making the GoogleTest source code available to