Permalink
Browse files

ref 2.7.5; fixed #576 gmock include not needed anymore as upstream re…

…solve itself
  • Loading branch information...
adriannuta committed Nov 23, 2018
1 parent 8b52e77 commit 58fb03166830d8b23e7ab9ce56309db7ddac22f4
Showing with 0 additions and 11 deletions.
  1. +0 −11 cmake/GetGoogletest.cmake
@@ -37,17 +37,6 @@ set ( gtest_force_shared_crt ON CACHE BOOL "" FORCE )
add_subdirectory ( ${CMAKE_BINARY_DIR}/googletest-src
${CMAKE_BINARY_DIR}/googletest-build )
# 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 ( BEFORE SYSTEM
"${gtest_SOURCE_DIR}/include" "${gmock_SOURCE_DIR}/include" )
else ()
target_include_directories ( gmock_main SYSTEM BEFORE INTERFACE
"${gtest_SOURCE_DIR}/include" "${gmock_SOURCE_DIR}/include" )
endif ()
# we don't want google test/mock build artifacts at all.
set ( INSTALL_GTEST OFF CACHE BOOL "Install gtest" FORCE )
set ( INSTALL_GMOCK OFF CACHE BOOL "Install gmock" FORCE )

0 comments on commit 58fb031

Please sign in to comment.