blob: 8a3de98008ea81e383e814ae3925ba5f863f3a37 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -160,9 +160,6 @@
add_cxx_compiler_flag(-Wall)
add_cxx_compiler_flag(-Wextra)
add_cxx_compiler_flag(-Wshadow)
- add_cxx_compiler_flag(-Werror RELEASE)
- add_cxx_compiler_flag(-Werror RELWITHDEBINFO)
- add_cxx_compiler_flag(-Werror MINSIZEREL)
if (NOT BENCHMARK_ENABLE_TESTING)
# Disable warning when compiling tests as gtest does not use 'override'.
add_cxx_compiler_flag(-Wsuggest-override)
|