Commit ec7fa96f by Dino Radaković

Merge pull request #3158 from GauthamBanasandra:patch-1

PiperOrigin-RevId: 367681693
parents 965f8ecb 626ce00b
...@@ -60,8 +60,8 @@ If you want to use GoogleTest in a project which already uses CMake, the easiest ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment