Commits
Gregorio Litenstein authored and Ken committed 7f46df47ef6
1 - | --- benchmarks/thirdparty/benchmark/cmake/HandleGTest.cmake.orig |
2 - | +++ benchmarks/thirdparty/benchmark/cmake/HandleGTest.cmake |
3 - | |
4 - | include(ExternalProject) |
5 - | set(GTEST_FLAGS "") |
6 - | if (BENCHMARK_USE_LIBCXX) |
7 - | - if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") |
8 - | + if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang") |
9 - | list(APPEND GTEST_FLAGS -stdlib=libc++) |
10 - | else() |
11 - | message(WARNING "Unsupported compiler (${CMAKE_CXX_COMPILER}) when using libc++") |