Workaround broken tuple in MSVC11

This commit is contained in:
vitaut 2015-04-12 06:45:40 -07:00
parent f35a220536
commit f6823221d3

View File

@ -153,7 +153,7 @@ endif ()
#endif ()
# GTest doesn't detect <tuple> with clang.
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR MSVC)
target_compile_definitions(gmock PUBLIC GTEST_USE_OWN_TR1_TUPLE=1)
endif ()