--- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -868,7 +868,6 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-noexcept-type") # Added for gtest endif() endif() - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror") if(USE_SANITIZE_UB) check_cxx_compiler_flag(-fsanitize=undefined COMPILER_SUPPORTS_UNDEFINED_BEHAVIOR_SANITIZER)