projects/aports·blob master · refs

12 lines · 618 B

1Patch-Source: https://github.com/archlinux/svntogit-community/blob/packages/libdispatch/trunk/remove-werror.patch
2
3--- a/cmake/modules/DispatchCompilerWarnings.cmake
4+++ b/cmake/modules/DispatchCompilerWarnings.cmake
5@@ -2,7 +2,6 @@
6 if("${CMAKE_C_SIMULATE_ID}" STREQUAL "MSVC")
7 # TODO: someone needs to provide the msvc equivalent warning flags
8 else()
9- add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Werror>)
10 add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wall>)
11 add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wextra>)
12