Fix CMake warning

This commit is contained in:
Victor Zverovich 2015-02-12 15:55:21 -08:00
parent 609f33c94a
commit c643fdae53

View File

@ -109,7 +109,7 @@ if (NOT FMT_VARIADIC_TEMPLATES)
endif () endif ()
# GTest doesn't detect <tuple> with clang. # GTest doesn't detect <tuple> with clang.
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
target_compile_definitions(gmock PUBLIC GTEST_USE_OWN_TR1_TUPLE=1) target_compile_definitions(gmock PUBLIC GTEST_USE_OWN_TR1_TUPLE=1)
endif () endif ()