Fix CMake warning
This commit is contained in:
parent
609f33c94a
commit
c643fdae53
@ -109,7 +109,7 @@ if (NOT FMT_VARIADIC_TEMPLATES)
|
||||
endif ()
|
||||
|
||||
# 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)
|
||||
endif ()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user