13 lines
570 B
Text
13 lines
570 B
Text
drop -Werror
|
|
|
|
Index: cmake/modules/DispatchCompilerWarnings.cmake
|
|
--- cmake/modules/DispatchCompilerWarnings.cmake.orig
|
|
+++ cmake/modules/DispatchCompilerWarnings.cmake
|
|
@@ -2,7 +2,6 @@
|
|
if("${CMAKE_C_SIMULATE_ID}" STREQUAL "MSVC")
|
|
# TODO: someone needs to provide the msvc equivalent warning flags
|
|
else()
|
|
- add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Werror>)
|
|
add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wall>)
|
|
add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wextra>)
|
|
|