From e6e2f3f455996b0d9d227cb1ed4ac4adf137c6fc Mon Sep 17 00:00:00 2001 From: Corentin Musard Date: Mon, 11 Jan 2021 19:05:45 +0100 Subject: [PATCH] Simplify cmake install file --- googletest/README.md | 7 ------- 1 file changed, 7 deletions(-) diff --git a/googletest/README.md b/googletest/README.md index d3d80555..717c8867 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)