From d2d95443fcd9f79b70568513412c289219e5afdc Mon Sep 17 00:00:00 2001 From: Nils Freydank Date: Sat, 23 Mar 2024 19:00:00 +0100 Subject: [PATCH] CMakeLists: Disable -Werror Gentoo policy is to disable -Werror by default, see e.g. https://bugs.gentoo.org/926121. Signed-off-by: Nils Freydank --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a6a31c6..4a9a86f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -60,7 +60,8 @@ add_custom_target(zeal_version ) if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.24.0") - set(CMAKE_COMPILE_WARNING_AS_ERROR ON) + # Upstream is slightly insane. + set(CMAKE_COMPILE_WARNING_AS_ERROR OFF) endif() add_subdirectory(assets) -- 2.44.0