Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
ec7fa96f
Commit
ec7fa96f
authored
Apr 12, 2021
by
Dino Radaković
Browse files
Merge pull request #3158 from GauthamBanasandra:patch-1
PiperOrigin-RevId: 367681693
parents
965f8ecb
626ce00b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
googletest/README.md
googletest/README.md
+2
-2
No files found.
googletest/README.md
View file @
ec7fa96f
...
@@ -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)`
succeed
s
, 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment