From f6823221d32323825c1f317c1d7dc44068743b00 Mon Sep 17 00:00:00 2001 From: vitaut Date: Sun, 12 Apr 2015 06:45:40 -0700 Subject: [PATCH] Workaround broken tuple in MSVC11 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4a91b015..7c9cd9c3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -153,7 +153,7 @@ endif () #endif () # GTest doesn't detect 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 ()