summaryrefslogtreecommitdiffstats
path: root/googletest/README.md
diff options
context:
space:
mode:
authorCorentin Musard <corentinmusard@gmail.com>2021-01-11 18:05:45 (GMT)
committerCorentin Musard <corentinmusard@gmail.com>2021-01-11 18:05:45 (GMT)
commite6e2f3f455996b0d9d227cb1ed4ac4adf137c6fc (patch)
tree1171612d4edc44499ee2d9d4d1b04929b2c865a6 /googletest/README.md
parent389cb68b87193358358ae87cc56d257fd0d80189 (diff)
downloadgoogletest-e6e2f3f455996b0d9d227cb1ed4ac4adf137c6fc.zip
googletest-e6e2f3f455996b0d9d227cb1ed4ac4adf137c6fc.tar.gz
googletest-e6e2f3f455996b0d9d227cb1ed4ac4adf137c6fc.tar.bz2
Simplify cmake install filerefs/pull/3216/head
Diffstat (limited to 'googletest/README.md')
-rw-r--r--googletest/README.md7
1 files changed, 0 insertions, 7 deletions
diff --git a/googletest/README.md b/googletest/README.md
index d3d8055..717c886 100644
--- a/googletest/README.md
+++ b/googletest/README.md
@@ -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)