Commit dd0120c1 authored by Victor Zverovich's avatar Victor Zverovich

Use gtest's own tuple with clang.

parent f9eb0b8b
......@@ -55,6 +55,11 @@ add_subdirectory(doc)
# pre-compiled copy of Google Test (for example, into /usr/local)?"
# at http://code.google.com/p/googletest/wiki/FAQ for more details.
# GTest doesn't detect <tuple> with clang.
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
add_definitions(-DGTEST_USE_OWN_TR1_TUPLE=1)
endif ()
include_directories(gtest/include)
add_subdirectory(gtest)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment