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
e6e2f3f4
Unverified
Commit
e6e2f3f4
authored
Jan 11, 2021
by
Corentin Musard
Browse files
Simplify cmake install file
parent
389cb68b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
googletest/README.md
googletest/README.md
+0
-7
No files found.
googletest/README.md
View file @
e6e2f3f4
...
...
@@ -138,13 +138,6 @@ add_subdirectory(${CMAKE_CURRENT_BINARY_DIR}/googletest-src
${
CMAKE_CURRENT_BINARY_DIR
}
/googletest-build
EXCLUDE_FROM_ALL
)
# The gtest/gtest_main targets carry header search path
# dependencies automatically when using CMake 2.8.11 or
# later. Otherwise we have to add them here ourselves.
if
(
CMAKE_VERSION VERSION_LESS 2.8.11
)
include_directories
(
"
${
gtest_SOURCE_DIR
}
/include"
)
endif
()
# Now simply link against gtest or gtest_main as needed. Eg
add_executable
(
example example.cpp
)
target_link_libraries
(
example gtest_main
)
...
...
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