summaryrefslogtreecommitdiff
path: root/media-libs/kquickimageeditor/files/kquickimageeditor-0.1.2-no-werror.patch
blob: 69448ea2e705b67abe82e091cb3d3f049b2ce7ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
From c79657496326c10f81cf80a8c9a0e55bc2ba2798 Mon Sep 17 00:00:00 2001
From: Nicolas Fella <nicolas.fella@gmx.de>
Date: Mon, 7 Dec 2020 14:34:09 +0100
Subject: [PATCH] Remove -Werror

It's doing more harm than good.

It makes it a pain to update anything (compiler, dependencies etc) that
may introduce new warnings. It also makes it hard to use a compiler that
produces a lot of warnings, e.g. clazy
---
 src/CMakeLists.txt | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 301c05e..99b0a87 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -33,12 +33,6 @@ add_library(
     ${sources} ${pluginData}
 )
 
-target_compile_options(
-    kquickimageeditorplugin
-    PRIVATE
-        -Werror
-)
-
 target_link_libraries(
     kquickimageeditorplugin
     PRIVATE
-- 
2.30.0