Skip to content

Commit a4c5037

Browse files
committed
Patch file.
1 parent 381268d commit a4c5037

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
diff --git a/thirdparty_builtin/benchmark-1.8.0/CMakeLists.txt b/thirdparty_builtin/benchmark-1.8.0/CMakeLists.txt
2+
index 0dbf393..5870dfc 100644
3+
--- a/thirdparty_builtin/benchmark-1.8.0/CMakeLists.txt
4+
+++ b/thirdparty_builtin/benchmark-1.8.0/CMakeLists.txt
5+
@@ -192,6 +192,9 @@ else()
6+
# See #631 for rationale.
7+
add_cxx_compiler_flag(-wd1786)
8+
endif()
9+
+ if (CMAKE_CXX_COMPILER_ID STREQUAL "IntelLLVM")
10+
+ add_cxx_compiler_flag(-Wno-tautological-compare)
11+
+ endif()
12+
# Disable deprecation warnings for release builds (when -Werror is enabled).
13+
if(BENCHMARK_ENABLE_WERROR)
14+
add_cxx_compiler_flag(-Wno-deprecated)

0 commit comments

Comments
 (0)