remove-werror.patch 575 B

1234567891011
  1. --- cmake/modules/DispatchCompilerWarnings.cmake.orig 2020-05-12 13:13:59.619689872 +0300
  2. +++ cmake/modules/DispatchCompilerWarnings.cmake 2020-05-12 13:13:35.216171428 +0300
  3. @@ -2,7 +2,6 @@
  4. if("${CMAKE_C_SIMULATE_ID}" STREQUAL "MSVC")
  5. # TODO: someone needs to provide the msvc equivalent warning flags
  6. else()
  7. - add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Werror>)
  8. add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wall>)
  9. add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wextra>)