1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 18:25:41 +03:00
aports/community/widelands/gcc12-no-werror.patch
2022-12-03 07:32:21 +00:00

15 lines
743 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7371b02..350ae47 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -382,8 +382,8 @@ if(NOT MSVC)
message(WARNING "This compiler is known to cause false-positive warnings.")
else()
# Turn some warnings into errors.
- message(STATUS "Warnings will be treated as errors.")
- wl_add_flag(WL_COMPILE_DIAGNOSTICS "-Werror")
+ # message(STATUS "Warnings will be treated as errors.")
+ # wl_add_flag(WL_COMPILE_DIAGNOSTICS "-Werror")
if(("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") AND (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 10.0))
# Silence some false positives on older g++
message(STATUS "Disabling known false-positive warnings for this compiler.")