This commit is contained in:
Gautham B A 2020-12-05 16:11:09 +05:30 committed by GitHub
parent 93748a9466
commit 626ce00bef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,7 @@ 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 libraries as `GTest::gtest`, `GTest::gmock`. the 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