Commit f274c503 authored by Roman Lebedev's avatar Roman Lebedev Committed by Eric
Browse files

Backport LLVM's r341717 "Fix flags used to compile benchmark library with clang-cl" (#673)

`MSVC` is true for clang-cl, but `"${CMAKE_CXX_COMPILER_ID}" STREQUAL
"MSVC"` is false, so we would enable -Wall, which means -Weverything
with clang-cl, and we get tons of undesired warnings.

Use the simpler condition to fix things.

Patch by: Reid Kleckner @rnk
parent f0901417
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment